diff --git a/js/stm32.js b/js/stm32.js index 0173f311b3..648544fa8c 100644 --- a/js/stm32.js +++ b/js/stm32.js @@ -348,7 +348,7 @@ STM32_protocol.prototype.upload_procedure = function(step) { STM32.GUI_status('STM32 Communication with bootloader failed'); // disconnect - this.upload_procedure(99); + self.upload_procedure(99); } }); break;