From 8aa375ef5884005709008d1c1f9f3729a88ad68c Mon Sep 17 00:00:00 2001 From: Michael Keller Date: Wed, 6 Dec 2017 22:26:08 +1300 Subject: [PATCH] Fixed problem with configurator hanging after 'exit' in CLI in Windows standalone. --- js/serial.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/serial.js b/js/serial.js index c15e9490..b224b02d 100644 --- a/js/serial.js +++ b/js/serial.js @@ -84,7 +84,7 @@ var serial = { } break; - case 'break': + //case 'break': // This occurs on F1 boards with old firmware during reboot case 'overrun': // wait 50 ms and attempt recovery @@ -117,6 +117,7 @@ var serial = { // TODO 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': CONFIG.arming_disabled = false;