gyro reset fix

This commit is contained in:
Peli de Halleux
2018-01-11 11:17:23 -08:00
parent 6fb5c54280
commit 1453b7e0a3
2 changed files with 2 additions and 2 deletions

View File

@ -310,7 +310,7 @@ namespace sensors.internal {
return getUartNumber(fmt, off, this._port)
}
protected reset() {
reset() {
if (this.isActive()) uartReset(this._port);
}
}