Skip to content

Commit 277c633

Browse files
committed
update zlg can mini
1 parent b37dabc commit 277c633

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

src/main/docan/zlg/index.ts

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -548,17 +548,15 @@ export class ZLG_CAN extends CanBase {
548548
// this.log.error((getTsUs() - this.startTime),'bus error')
549549
} else {
550550
if (this.canMiniBug) {
551-
setTimeout(() => {
552-
this._read(
553-
{
554-
canId: id,
555-
msgType: msgType,
556-
isEcho: true,
557-
data
558-
},
559-
getTsUs() - this.startTime
560-
)
561-
}, 0)
551+
this._read(
552+
{
553+
canId: id,
554+
msgType: msgType,
555+
isEcho: true,
556+
data
557+
},
558+
getTsUs() - this.startTime
559+
)
562560
}
563561
}
564562
}

0 commit comments

Comments
 (0)