remove stopAllMotors on escape key
This commit is contained in:
1 parent
b3f9a4c92f
commit
7d01823caf
1 file changed
-1
@@ -170,7 +170,6 @@ namespace brick {
|
||||
// this needs to be done in query(), which is run without the main JS execution mutex
|
||||
// otherwise, while(true){} will lock the device
|
||||
if (ret & DAL.BUTTON_ID_ESCAPE) {
|
||||
motors.stopAllMotors();
|
||||
control.reset()
|
||||
}
|
||||
return ret
|
||||
|
||||
Reference in new issue
Block a user