mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Track state execution time for OSD, baro, rx and GPS tasks and inform scheduler of next state execution time
This commit is contained in:
parent
a63172cc1f
commit
ab1baccc66
44 changed files with 1392 additions and 721 deletions
|
@ -2887,6 +2887,10 @@ static mspResult_e mspProcessInCommand(mspDescriptor_t srcDesc, int16_t cmdMSP,
|
|||
return MSP_RESULT_ERROR;
|
||||
}
|
||||
|
||||
// This is going to take some time and won't be done where real-time performance is needed so
|
||||
// ignore how long it takes to avoid confusing the scheduler
|
||||
ignoreTaskStateTime();
|
||||
|
||||
writeEEPROM();
|
||||
readEEPROM();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue