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
1 changed files with 3 additions and 0 deletions

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);