mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 03:49:53 +03:00
wider scope
This commit is contained in:
parent
d258cab005
commit
b0c4b1cf1b
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue