mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +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
|
@ -1736,7 +1736,9 @@ const clivalue_t valueTable[] = {
|
|||
#ifdef USE_BATTERY_CONTINUE
|
||||
{ "stats_mah_used", VAR_UINT32 | MASTER_VALUE, .config.u32Max = UINT32_MAX, PG_STATS_CONFIG, offsetof(statsConfig_t, stats_mah_used) },
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif // USE_PERSISTENT_STATS
|
||||
|
||||
{ "craft_name", VAR_UINT8 | MASTER_VALUE | MODE_STRING, .config.string = { 1, MAX_NAME_LENGTH, STRING_FLAGS_NONE }, PG_PILOT_CONFIG, offsetof(pilotConfig_t, craftName) },
|
||||
#ifdef USE_OSD
|
||||
{ "pilot_name", VAR_UINT8 | MASTER_VALUE | MODE_STRING, .config.string = { 1, MAX_NAME_LENGTH, STRING_FLAGS_NONE }, PG_PILOT_CONFIG, offsetof(pilotConfig_t, pilotName) },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue