mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 00:05:33 +03:00
Reduce standard deviation of flash logging execution time by 80%
This commit is contained in:
parent
bf18f212d9
commit
4f860dd6f1
2 changed files with 8 additions and 12 deletions
|
@ -1215,6 +1215,9 @@ static void blackboxLogIteration()
|
|||
#endif
|
||||
}
|
||||
|
||||
//Flush every iteration so that our runtime variance is minimized
|
||||
blackboxDeviceFlush();
|
||||
|
||||
blackboxSlowFrameIterationTimer++;
|
||||
blackboxIteration++;
|
||||
blackboxPFrameIndex++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue