Improve BackLt (35/63)

This commit is contained in:
Armel FAUVEAU
2024-04-05 05:03:40 +02:00
parent a562ff8479
commit d489dedf51
9 changed files with 29 additions and 30 deletions

2
main.c
View File

@@ -151,7 +151,7 @@ void Main(void)
{
FUNCTION_Select(FUNCTION_POWER_SAVE);
if (gEeprom.BACKLIGHT_TIME < (ARRAY_SIZE(gSubMenu_BACKLIGHT) - 1)) // backlight is not set to be always on
if (gEeprom.BACKLIGHT_TIME < 17) // backlight is not set to be always on
BACKLIGHT_TurnOff(); // turn the backlight OFF
else
BACKLIGHT_TurnOn(); // turn the backlight ON