1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 11:29:53 +03:00

Merge branch 'master' into release_6.1.0

This commit is contained in:
Marcelo Bezerra 2023-06-09 15:41:27 +02:00 committed by GitHub
commit 7fa0f7e695
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
31 changed files with 1400 additions and 584 deletions

View file

@ -81,7 +81,7 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options, callback)
self.initialize();
} else {
GUI.log('<span style="color: red">Failed</span> to open serial port');
GUI.log(chrome.i18n.getMessage('failedToOpenSerialPort'));
}
});
} else {
@ -108,7 +108,7 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options, callback)
retries++;
if (retries > maxRetries) {
clearInterval(interval);
GUI.log('<span style="color: red">Failed</span> to flash ' + port);
GUI.log(chrome.i18n.getMessage('failedToFlash') + port);
}
}
// Check for DFU devices
@ -145,7 +145,7 @@ STM32_protocol.prototype.connect = function (port, baud, hex, options, callback)
});
});
} else {
GUI.log('<span style="color: red">Failed</span> to open serial port');
GUI.log(chrome.i18n.getMessage('failedToOpenSerialPort'));
}
});
}