From 2c5accb8ba2e2ad3d3af6d65a440dabb6a38f4df Mon Sep 17 00:00:00 2001 From: Steve Evans Date: Tue, 4 Jan 2022 19:38:35 +0000 Subject: [PATCH] Ignore time task to update EEPROM as otherwise stick commands can upset the RX task --- src/main/config/config.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/config/config.c b/src/main/config/config.c index 9995a13ac7..4a9f96494a 100644 --- a/src/main/config/config.c +++ b/src/main/config/config.c @@ -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);