Improve BackLt (35/63)

This commit is contained in:
Armel FAUVEAU
2024-04-05 06:28:51 +02:00
parent 623a86b298
commit 4cd00a0a97
8 changed files with 11 additions and 18 deletions

View File

@@ -1483,7 +1483,7 @@ void APP_TimeSlice500ms(void)
// don't turn off backlight if user is in backlight menu option
&& !(gScreenToDisplay == DISPLAY_MENU && (UI_MENU_GetCurrentMenuId() == MENU_ABR || UI_MENU_GetCurrentMenuId() == MENU_ABR_MAX))
&& --gBacklightCountdown_500ms == 0
&& gEeprom.BACKLIGHT_TIME < 17
&& gEeprom.BACKLIGHT_TIME < 61
) {
BACKLIGHT_TurnOff();
}