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:
parent
70e22b61c4
commit
2c5accb8ba
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue