mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Added throttle flight statistics (#12978)
* Added throttle flight statistics * Changed rc_stats.c/h license header to a modern one * rc_stats.c Style fix
This commit is contained in:
parent
fb9587b2ec
commit
dfef3bfb0e
11 changed files with 191 additions and 1 deletions
|
@ -92,6 +92,7 @@
|
|||
#include "pg/pg_ids.h"
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "rx/rc_stats.h"
|
||||
#include "rx/rx.h"
|
||||
|
||||
#include "scheduler/scheduler.h"
|
||||
|
@ -554,6 +555,10 @@ void tryArm(void)
|
|||
#endif
|
||||
ENABLE_ARMING_FLAG(ARMED);
|
||||
|
||||
#ifdef USE_RC_STATS
|
||||
NotifyRcStatsArming();
|
||||
#endif
|
||||
|
||||
resetTryingToArm();
|
||||
|
||||
#ifdef USE_ACRO_TRAINER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue