1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-18 13:55:14 +03:00

Fixed problem with configurator hanging after 'exit' in CLI in Windows standalone.

This commit is contained in:
Michael Keller 2017-12-06 22:26:08 +13:00
parent 4133856140
commit 8aa375ef58

View file

@ -84,7 +84,7 @@ var serial = {
} }
break; break;
case 'break': //case 'break':
// This occurs on F1 boards with old firmware during reboot // This occurs on F1 boards with old firmware during reboot
case 'overrun': case 'overrun':
// wait 50 ms and attempt recovery // wait 50 ms and attempt recovery
@ -117,6 +117,7 @@ var serial = {
// TODO // TODO
break; break;
case 'break': // This seems to be the error that is thrown under NW.js in Windows when the device reboots after typing 'exit' in CLI
case 'device_lost': case 'device_lost':
CONFIG.arming_disabled = false; CONFIG.arming_disabled = false;