Skip to content

Commit

Permalink
Licence changed to MIT
Browse files Browse the repository at this point in the history
  • Loading branch information
MyHomeMyData committed Dec 18, 2023
1 parent 986d10e commit 717362d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Empty file modified LICENSE
100644 → 100755
Empty file.
8 changes: 4 additions & 4 deletions lib/canUds.js
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ class uds {
break;
} else {
// Did does not match
this.stat.cntCommBad += 1;
this.stat.cntCommBadProtocol += 1;
if (this.callback) {
await this.callback(ctx, this, ['did mismatch SF', this.storage.udsScanResult]);
} else {
Expand All @@ -359,7 +359,7 @@ class uds {
break;
} else {
// Did does not match
this.stat.cntCommBad += 1;
this.stat.cntCommBadProtocol += 1;
if (this.callback) {
await this.callback(ctx, this, ['did mismatch MF', this.storage.udsScanResult]);
} else {
Expand All @@ -374,7 +374,7 @@ class uds {
} else {
ctx.log.error('msgUds(): Bad frame on device '+this.canIDhex+': '+JSON.stringify(candata));
}
this.stat.cntCommBad += 1;
this.stat.cntCommBadProtocol += 1;
await this.setDidDone(2500);
break;

Expand All @@ -401,7 +401,7 @@ class uds {
break;

default:
this.stat.cntCommBad += 1;
this.stat.cntCommBadProtocol += 1;
if (this.callback) {
this.callback(ctx, this, ['bad state value', this.storage.udsScanResult]);
} else {
Expand Down

0 comments on commit 717362d

Please sign in to comment.