mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-01 00:50:24 -04:00
Fixing #1460: 'set motor direction' block should work while a motor is running.
This commit is contained in:
parent
3023b7a9c2
commit
d61f6e3d6f
2 changed files with 38 additions and 2 deletions
src/io
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue