remove stopAllMotors on escape key

This commit is contained in:
Peli de Halleux 2018-01-07 09:58:08 -08:00
parent b3f9a4c92f
commit 7d01823caf

View File

@ -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