1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00
Fix debug names not unique with only 12 chars
This commit is contained in:
Michael Keller 2020-08-29 16:12:46 +12:00 committed by GitHub
commit 2bec8fa33d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@ uint8_t debugMode;
uint32_t sectionTimes[2][4];
#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] = {
"NONE",
"CYCLETIME",
@ -61,7 +61,7 @@ const char * const debugModeNames[DEBUG_COUNT] = {
"SBUS",
"FPORT",
"RANGEFINDER",
"RANGEFINDER_QUALITY",
"RNGFNDR_QUALITY",
"LIDAR_TF",
"ADC_INTERNAL",
"RUNAWAY_TAKEOFF",
@ -74,7 +74,7 @@ const char * const debugModeNames[DEBUG_COUNT] = {
"ACRO_TRAINER",
"RC_SMOOTHING",
"RX_SIGNAL_LOSS",
"RC_SMOOTHING_RATE",
"RC_SMOOTH_RATE",
"ANTI_GRAVITY",
"DYN_LPF",
"RX_SPEKTRUM_SPI",
@ -85,9 +85,9 @@ const char * const debugModeNames[DEBUG_COUNT] = {
"AC_ERROR",
"DUAL_GYRO_SCALED",
"DSHOT_RPM_ERRORS",
"CRSF_LINK_STATISTICS_UPLINK",
"CRSF_LINK_STATISTICS_PWR",
"CRSF_LINK_STATISTICS_DOWN",
"CRSF_LS_UPLINK",
"CRSF_LS_PWR",
"CRSF_LS_DOWN",
"BARO",
"GPS_RESCUE_THROTTLE_PID",
"DYN_IDLE",