wider scope

10.3.x-maintenance
cTn 2014-01-27 00:49:28 +01:00
parent d258cab005
commit b0c4b1cf1b
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ STM32_protocol.prototype.upload_procedure = function(step) {
var send_counter = 0;
GUI.interval_add('stm32_initialize_mcu', function() { // 200 ms interval (just in case mcu was already initialized), we need to break the 2 bytes command requirement
self.send([0x7F], 1, function(reply) {
if (reply[0] == self.status.ACK || reply[0] == self.status.NACK) {
if (reply[0] == 0x7F || reply[0] == self.status.ACK || reply[0] == self.status.NACK) {
GUI.interval_remove('stm32_initialize_mcu');
console.log('STM32 - Serial interface initialized on the MCU side');