1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

fix rare condition in which flasher could hang and wont let the user leave

This commit is contained in:
cTn 2014-08-30 08:27:24 +02:00
parent 1e681bbdd2
commit 37746bf3ed

View file

@ -99,6 +99,7 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options) {
if (openInfo) { if (openInfo) {
self.initialize(); self.initialize();
} else { } else {
GUI.connect_lock = false;
GUI.log('<span style="color: red">Failed</span> to open serial port'); GUI.log('<span style="color: red">Failed</span> to open serial port');
} }
}); });