mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Some fixes for persistent stats.
This commit is contained in:
parent
ad00c6b66b
commit
1920a61226
4 changed files with 91 additions and 43 deletions
|
@ -984,11 +984,6 @@ bool processRx(timeUs_t currentTimeUs)
|
|||
|
||||
pidSetAntiGravityState(IS_RC_MODE_ACTIVE(BOXANTIGRAVITY) || featureIsEnabled(FEATURE_ANTI_GRAVITY));
|
||||
|
||||
#ifdef USE_PERSISTENT_STATS
|
||||
/* allow the stats collector to do periodic tasks */
|
||||
statsOnLoop();
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue