mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 09:45:37 +03:00
Add (e)RPM field to blackbox logs (#12823)
* Add RPM black box field * Fix settings table spacing * Move RPM field to end of FlightLogFieldSelect enum * Fix various RPM logging related bugs - change eRPM I frame encoding to UNSIGNED_VB (was SIGNED_VB) - change eRPM P frame prediction to PREVIOUS (was AVERAGE_2) - change eRPM log field name to 'eRPM(/100)' (was 'RPM') - rename rpm field in blackboxMainState_s to erpm - minor formatting fixes to BlackBoxMainFields spacing and some if clauses * Remove superfluous parentheses in blackbox.c
This commit is contained in:
parent
8308540932
commit
96c788c87f
3 changed files with 75 additions and 4 deletions
|
@ -826,6 +826,9 @@ const clivalue_t valueTable[] = {
|
|||
#endif
|
||||
{ "blackbox_disable_debug", VAR_UINT32 | MASTER_VALUE | MODE_BITSET, .config.bitpos = FLIGHT_LOG_FIELD_SELECT_DEBUG_LOG, PG_BLACKBOX_CONFIG, offsetof(blackboxConfig_t, fields_disabled_mask) },
|
||||
{ "blackbox_disable_motors", VAR_UINT32 | MASTER_VALUE | MODE_BITSET, .config.bitpos = FLIGHT_LOG_FIELD_SELECT_MOTOR, PG_BLACKBOX_CONFIG, offsetof(blackboxConfig_t, fields_disabled_mask) },
|
||||
#ifdef USE_DSHOT_TELEMETRY
|
||||
{ "blackbox_disable_rpm", VAR_UINT32 | MASTER_VALUE | MODE_BITSET, .config.bitpos = FLIGHT_LOG_FIELD_SELECT_RPM, PG_BLACKBOX_CONFIG, offsetof(blackboxConfig_t, fields_disabled_mask) },
|
||||
#endif
|
||||
#ifdef USE_GPS
|
||||
{ "blackbox_disable_gps", VAR_UINT32 | MASTER_VALUE | MODE_BITSET, .config.bitpos = FLIGHT_LOG_FIELD_SELECT_GPS, PG_BLACKBOX_CONFIG, offsetof(blackboxConfig_t, fields_disabled_mask) },
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue