Skip to content

Commit

Permalink
fix #114 backlight switched to high if u scroll down through settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilsss655 committed Jan 31, 2024
1 parent 0631933 commit 4057669
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ui/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,16 +620,13 @@ void UI_DisplayMenu(void)

case MENU_ABR:
strcpy(String, gSubMenu_BACKLIGHT[gSubMenuSelection]);
BACKLIGHT_SetBrightness(-1);
break;

case MENU_ABR_MIN:
case MENU_ABR_MAX:
sprintf(String, "%d", gSubMenuSelection);
if(gIsInSubMenu)
BACKLIGHT_SetBrightness(gSubMenuSelection);
else
BACKLIGHT_SetBrightness(-1);
break;

case MENU_AM:
Expand Down

0 comments on commit 4057669

Please sign in to comment.