mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 14:55:21 +03:00
Merge remote-tracking branch 'multiwii/master' into project-structure-alternative
This commit is contained in:
commit
c7efcc0521
1 changed files with 6 additions and 2 deletions
|
@ -615,8 +615,12 @@ static void evaluateCommand(void)
|
||||||
headSerialReply(0);
|
headSerialReply(0);
|
||||||
break;
|
break;
|
||||||
case MSP_EEPROM_WRITE:
|
case MSP_EEPROM_WRITE:
|
||||||
writeEEPROM(0, true);
|
if (f.ARMED) {
|
||||||
headSerialReply(0);
|
headSerialError(0);
|
||||||
|
} else {
|
||||||
|
writeEEPROM(0, true);
|
||||||
|
headSerialReply(0);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case MSP_DEBUG:
|
case MSP_DEBUG:
|
||||||
headSerialReply(8);
|
headSerialReply(8);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue