From b5e3164d4a93f7e1c48eaa76328ea85a3cacc716 Mon Sep 17 00:00:00 2001 From: haslinghuis Date: Thu, 27 Aug 2020 00:30:17 +0200 Subject: [PATCH] Fix debug names not unique with only 12 chars --- src/main/build/debug.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/build/debug.c b/src/main/build/debug.c index 0e93eb9e16..5dc25c63d2 100644 --- a/src/main/build/debug.c +++ b/src/main/build/debug.c @@ -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",