Skip to content

Commit

Permalink
Ignore time task to update EEPROM as otherwise stick commands can ups…
Browse files Browse the repository at this point in the history
…et the RX task
  • Loading branch information
SteveCEvans committed Jan 4, 2022
1 parent d593f08 commit ead754c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/config/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -761,6 +761,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);
Expand Down

0 comments on commit ead754c

Please sign in to comment.