1
0
Fork 0
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:
Ivan Efimov 2023-08-06 10:32:57 -05:00 committed by GitHub
parent fb9587b2ec
commit dfef3bfb0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 191 additions and 1 deletions

View file

@ -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