Fixed multiple sensor bug (#868)
This commit is contained in:
@ -207,7 +207,7 @@ namespace sensors.internal {
|
||||
constructor(port: number) {
|
||||
super(port)
|
||||
this.mode = 0
|
||||
this.realmode = -1
|
||||
this.realmode = 0
|
||||
}
|
||||
|
||||
_activated() {
|
||||
@ -513,4 +513,4 @@ namespace sensors {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user