gyro calibration done right (#186)

This commit is contained in:
Peli de Halleux
2018-01-04 23:21:19 -08:00
committed by GitHub
parent de91dc6ab7
commit a9be582f90
4 changed files with 53 additions and 7 deletions

View File

@ -309,6 +309,10 @@ namespace sensors.internal {
return 0
return getUartNumber(fmt, off, this._port)
}
protected reset() {
if (this.isActive()) uartReset(this._port);
}
}
function uartReset(port: number) {