0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 14:48:03 +03:00

Backlight improvement when set to off

This commit is contained in:
OneOfEleven
2023-09-20 13:01:08 +01:00
parent 1424ce8401
commit fd7f09a3ff
6 changed files with 27 additions and 22 deletions

View File

@ -395,14 +395,6 @@ void UI_DisplayMenu(void)
break;
case MENU_ABR:
if (gEeprom.BACKLIGHT == 0)
{ // turn the light on so the user can see the screen
const uint8_t value = gEeprom.BACKLIGHT;
gEeprom.BACKLIGHT = 1;
BACKLIGHT_TurnOn();
gEeprom.BACKLIGHT = value; // restore the setting
}
strcpy(String, gSubMenu_BACK_LIGHT[gSubMenuSelection]);
break;