mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 12:25:20 +03:00
Improve CMS support of long lookup table names
Optimizes the display to use available space by calculating the label length vs. the screen size instead of a fixed 12 character limit. For lookup table strings that are still too long the value is displayed as a scrolling ticker so the user can see the entire name.
This commit is contained in:
parent
fa6c0e2db1
commit
ebc8928d0d
3 changed files with 61 additions and 12 deletions
|
@ -61,7 +61,7 @@ const char * const debugModeNames[DEBUG_COUNT] = {
|
|||
"SBUS",
|
||||
"FPORT",
|
||||
"RANGEFINDER",
|
||||
"RNGFNDR_QUALITY",
|
||||
"RANGEFINDER_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_SMOOTH_RATE",
|
||||
"RC_SMOOTHING_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_LS_UPLINK",
|
||||
"CRSF_LS_PWR",
|
||||
"CRSF_LS_DOWN",
|
||||
"CRSF_LINK_STATISTICS_UPLINK",
|
||||
"CRSF_LINK_STATISTICS_PWR",
|
||||
"CRSF_LINK_STATISTICS_DOWN",
|
||||
"BARO",
|
||||
"GPS_RESCUE_THROTTLE_PID",
|
||||
"DYN_IDLE",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue