1
0
Fork 0
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:
Dominic Clifton 2014-04-19 01:12:13 +01:00
commit c7efcc0521

View file

@ -615,8 +615,12 @@ static void evaluateCommand(void)
headSerialReply(0);
break;
case MSP_EEPROM_WRITE:
writeEEPROM(0, true);
headSerialReply(0);
if (f.ARMED) {
headSerialError(0);
} else {
writeEEPROM(0, true);
headSerialReply(0);
}
break;
case MSP_DEBUG:
headSerialReply(8);