Fixing : 'set motor direction' block should work while a motor is running.

This commit is contained in:
Evelyn Eastmond 2018-08-14 12:35:59 -04:00
parent 3023b7a9c2
commit d61f6e3d6f
2 changed files with 38 additions and 2 deletions

View file

@ -146,9 +146,9 @@ class BLESession extends JSONRPCWebSocket {
});
}
_sendError (e) {
_sendError (/* e */) {
this._connected = false;
log.error(`BLESession error: ${JSON.stringify(e)}`);
// log.error(`BLESession error: ${JSON.stringify(e)}`);
this._runtime.emit(this._runtime.constructor.PERIPHERAL_ERROR);
}