1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-16 12:55:19 +03:00

Ignore time task to update EEPROM as otherwise stick commands can upset the RX task

This commit is contained in:
Steve Evans 2022-01-04 19:38:35 +00:00
parent 70e22b61c4
commit 2c5accb8ba

View file

@ -771,6 +771,9 @@ void ensureEEPROMStructureIsValid(void)
void saveConfigAndNotify(void)
{
// The write to EEPROM will cause a big delay in the current task, so ignore
schedulerIgnoreTaskExecTime();
writeEEPROM();
readEEPROM();
beeperConfirmationBeeps(1);