@zimo-elektronik/zcan 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -88,7 +88,7 @@ export default class TrackCfgGroup {
|
|
|
88
88
|
parseTseProgWrite16(size, mode, nid, buffer) {
|
|
89
89
|
if (this.onTseProgWrite16Extended.observed) {
|
|
90
90
|
const NID = buffer.readUInt16LE(0);
|
|
91
|
-
const cfgNum = buffer.
|
|
91
|
+
const cfgNum = buffer.readUint16LE(2);
|
|
92
92
|
const cvValue = buffer.readUint16LE(4);
|
|
93
93
|
this.onTseProgWrite16Extended.next({
|
|
94
94
|
nid: NID,
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "https://github.com/ZIMO-Elektronik/zcan",
|
|
8
|
-
"version": "1.0.
|
|
8
|
+
"version": "1.0.22",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "node dist/main.js",
|
|
11
11
|
"start:dev": "nodemon --ext js,ts,json,env --exec \"node --experimental-specifier-resolution=node --loader ts-node/esm\" src/main.ts",
|
|
@@ -124,7 +124,7 @@ export default class TrackCfgGroup {
|
|
|
124
124
|
parseTseProgWrite16(size: number, mode: number, nid: number, buffer: Buffer) {
|
|
125
125
|
if (this.onTseProgWrite16Extended.observed) {
|
|
126
126
|
const NID = buffer.readUInt16LE(0);
|
|
127
|
-
const cfgNum = buffer.
|
|
127
|
+
const cfgNum = buffer.readUint16LE(2);
|
|
128
128
|
const cvValue = buffer.readUint16LE(4);
|
|
129
129
|
|
|
130
130
|
this.onTseProgWrite16Extended.next({
|