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:
parent
295550c921
commit
2ecfb1d183
3 changed files with 12 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue