mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 16:55:22 +03:00
reboot procedure improvements
This commit is contained in:
parent
e711e5ba53
commit
8e9bded7a7
4 changed files with 50 additions and 3 deletions
|
@ -205,6 +205,13 @@ var MSP = {
|
|||
message.onFinish = callback_msp;
|
||||
message.onSend = callback_sent;
|
||||
|
||||
/*
|
||||
* In case of MSP_REBOOT special procedure is required
|
||||
*/
|
||||
if (code == MSPCodes.MSP_SET_REBOOT || code == MSPCodes.MSP_EEPROM_WRITE) {
|
||||
message.retryCounter = 10;
|
||||
}
|
||||
|
||||
helper.mspQueue.put(message);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue