diff --git a/companion/src/generaledit.ui b/companion/src/generaledit.ui index fdc220b55..c1f11c91d 100644 --- a/companion/src/generaledit.ui +++ b/companion/src/generaledit.ui @@ -307,7 +307,7 @@ These will be relevant for all models in the same EEPROM. - 255 + 100 Qt::Horizontal diff --git a/radio/src/gui/menu_general.cpp b/radio/src/gui/menu_general.cpp index 673b514a4..ac1d97a80 100644 --- a/radio/src/gui/menu_general.cpp +++ b/radio/src/gui/menu_general.cpp @@ -519,8 +519,8 @@ void menuGeneralSetup(uint8_t event) #if defined(PCBTARANIS) && defined(REVPLUS) case ITEM_SETUP_BACKLIGHT_COLOR: lcd_putsLeft(y, STR_BLCOLOR); - displaySlider(RADIO_SETUP_2ND_COLUMN, y, g_eeGeneral.backlightColor, 255, attr); - if (attr) g_eeGeneral.backlightColor = checkIncDec(event, g_eeGeneral.backlightColor, 0, 255, EE_GENERAL | NO_INCDEC_MARKS); + displaySlider(RADIO_SETUP_2ND_COLUMN, y, g_eeGeneral.backlightColor, 100, attr); + if (attr) g_eeGeneral.backlightColor = checkIncDec(event, g_eeGeneral.backlightColor, 0, 100, EE_GENERAL | NO_INCDEC_MARKS); break; #endif diff --git a/radio/src/gui/menu_model.cpp b/radio/src/gui/menu_model.cpp index 3c9eae936..d194b6607 100644 --- a/radio/src/gui/menu_model.cpp +++ b/radio/src/gui/menu_model.cpp @@ -5074,6 +5074,14 @@ void menuModelCustomFunctions(uint8_t event) lcd_putsiAtt(MODEL_CUSTOM_FUNC_3RD_COLUMN, y, STR_MMMINV, 0, attr); } } +#endif +#if defined(PCBTARANIS) && defined(REVPLUS) + else if (func == FUNC_BACKLIGHT) { + displaySlider(MODEL_CUSTOM_FUNC_3RD_COLUMN, y, CFN_PARAM(sd), 100, attr); + INCDEC_SET_FLAG(NO_INCDEC_MARKS); + val_min = 0; + val_max = 100; + } #endif else if (func == FUNC_RESET) { val_max = FUNC_RESET_PARAM_LAST;