1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Aligned debug mode names with debug enum value names for more fun when debugging.

This commit is contained in:
mikeller 2019-01-27 12:04:38 +13:00
parent 06f89603bc
commit 118e92c8b2
4 changed files with 9 additions and 8 deletions

View file

@ -30,6 +30,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'
const char * const debugModeNames[DEBUG_COUNT] = {
"NONE",
"CYCLETIME",
@ -78,7 +79,7 @@ const char * const debugModeNames[DEBUG_COUNT] = {
"ANTI_GRAVITY",
"DYN_LPF",
"RX_SPEKTRUM_SPI",
"DSHOT_TELEMETRY",
"DSHOT_RPM_TELEMETRY",
"RPM_FILTER",
"D_CUT",
};