gyro reset fix
This commit is contained in:
1 parent
6fb5c54280
commit
1453b7e0a3
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -310,7 +310,7 @@ namespace sensors.internal {
|
||||
return getUartNumber(fmt, off, this._port)
|
||||
}
|
||||
|
||||
protected reset() {
|
||||
reset() {
|
||||
if (this.isActive()) uartReset(this._port);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user