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