Fixed multiple sensor bug (#868)

This commit is contained in:
Max 2019-07-16 01:26:25 +03:00 committed by Abhijith Chatra
parent 1fe3d3e01a
commit 4d2f72575b

View File

@ -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 {
}
}
}
}
}