mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 04:45:24 +03:00
Fix debug names not unique with only 12 chars
This commit is contained in:
parent
d0cd96dc5b
commit
b5e3164d4a
1 changed files with 6 additions and 6 deletions
|
@ -31,7 +31,7 @@ uint8_t debugMode;
|
||||||
uint32_t sectionTimes[2][4];
|
uint32_t sectionTimes[2][4];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Please ensure that these names are aligned with the enum values defined in 'debug.h'
|
// Please ensure that these names are aligned with the enum values defined in 'debug.h' - for OSD be sure the name is unique with 12 chars.
|
||||||
const char * const debugModeNames[DEBUG_COUNT] = {
|
const char * const debugModeNames[DEBUG_COUNT] = {
|
||||||
"NONE",
|
"NONE",
|
||||||
"CYCLETIME",
|
"CYCLETIME",
|
||||||
|
@ -61,7 +61,7 @@ const char * const debugModeNames[DEBUG_COUNT] = {
|
||||||
"SBUS",
|
"SBUS",
|
||||||
"FPORT",
|
"FPORT",
|
||||||
"RANGEFINDER",
|
"RANGEFINDER",
|
||||||
"RANGEFINDER_QUALITY",
|
"RNGFNDR_QUALITY",
|
||||||
"LIDAR_TF",
|
"LIDAR_TF",
|
||||||
"ADC_INTERNAL",
|
"ADC_INTERNAL",
|
||||||
"RUNAWAY_TAKEOFF",
|
"RUNAWAY_TAKEOFF",
|
||||||
|
@ -74,7 +74,7 @@ const char * const debugModeNames[DEBUG_COUNT] = {
|
||||||
"ACRO_TRAINER",
|
"ACRO_TRAINER",
|
||||||
"RC_SMOOTHING",
|
"RC_SMOOTHING",
|
||||||
"RX_SIGNAL_LOSS",
|
"RX_SIGNAL_LOSS",
|
||||||
"RC_SMOOTHING_RATE",
|
"RC_SMOOTH_RATE",
|
||||||
"ANTI_GRAVITY",
|
"ANTI_GRAVITY",
|
||||||
"DYN_LPF",
|
"DYN_LPF",
|
||||||
"RX_SPEKTRUM_SPI",
|
"RX_SPEKTRUM_SPI",
|
||||||
|
@ -85,9 +85,9 @@ const char * const debugModeNames[DEBUG_COUNT] = {
|
||||||
"AC_ERROR",
|
"AC_ERROR",
|
||||||
"DUAL_GYRO_SCALED",
|
"DUAL_GYRO_SCALED",
|
||||||
"DSHOT_RPM_ERRORS",
|
"DSHOT_RPM_ERRORS",
|
||||||
"CRSF_LINK_STATISTICS_UPLINK",
|
"CRSF_LS_UPLINK",
|
||||||
"CRSF_LINK_STATISTICS_PWR",
|
"CRSF_LS_PWR",
|
||||||
"CRSF_LINK_STATISTICS_DOWN",
|
"CRSF_LS_DOWN",
|
||||||
"BARO",
|
"BARO",
|
||||||
"GPS_RESCUE_THROTTLE_PID",
|
"GPS_RESCUE_THROTTLE_PID",
|
||||||
"DYN_IDLE",
|
"DYN_IDLE",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue