1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Completely drop suspension for serial RX - there is no point since we do not use preemptive multitasking.

This commit is contained in:
mikeller 2018-09-04 01:09:57 +12:00
parent 295550c921
commit 2ecfb1d183
3 changed files with 12 additions and 12 deletions

View file

@ -512,7 +512,7 @@ void validateAndFixGyroConfig(void)
bool readEEPROM(void)
{
suspendRxSignal();
suspendRxPwmPpmSignal();
// Sanity check, read flash
bool success = loadEEPROM();
@ -521,7 +521,7 @@ bool readEEPROM(void)
activateConfig();
resumeRxSignal();
resumeRxPwmPpmSignal();
return success;
}
@ -530,11 +530,11 @@ void writeEEPROM(void)
{
validateAndFixConfig();
suspendRxSignal();
suspendRxPwmPpmSignal();
writeConfigToEEPROM();
resumeRxSignal();
resumeRxPwmPpmSignal();
}
void writeEEPROMWithFeatures(uint32_t features)