diff --git a/js/protocols/stm32.js b/js/protocols/stm32.js index 49990a3d..83138eae 100644 --- a/js/protocols/stm32.js +++ b/js/protocols/stm32.js @@ -99,6 +99,7 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options) { if (openInfo) { self.initialize(); } else { + GUI.connect_lock = false; GUI.log('Failed to open serial port'); } });