Skip to content

Commit e4034db

Browse files
committed
[opt]:opt slcan timestamp and canfd
1 parent 838b702 commit e4034db

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/main/docan/slcan/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,6 @@ export class SLCAN_CAN extends CanBase {
8585
super()
8686
this.info = baseInfo
8787

88-
// Detect CANFD support from device name
89-
if (this.info.name.includes('CANable 2.0')) {
90-
this.info.canfd = true
91-
} else {
92-
this.info.canfd = false
93-
}
94-
9588
this.id = this.info.id
9689
this.log = new CanLOG('SLCAN', this.info.name, this.event)
9790
this.attachCanMessage(this.busloadCb)

0 commit comments

Comments
 (0)