Don't force backlight off on serial session init

This commit is contained in:
Armel FAUVEAU committed 2026-09-07 01:17:11 +02:00
1 parent d12dbe0bf9
commit 960d13e120
1 file changed
+4 -4
+4 -4
View File
@@ -366,8 +366,8 @@ static void CMD_0514(uint32_t Port, const uint8_t *pBuffer)
gSerialConfigCountDown_500ms = 12; // 6 sec gSerialConfigCountDown_500ms = 12; // 6 sec
if (gEeprom.BACKLIGHT_TIME < 61) // backlight is set to be always on // Backlight left untouched: a serial session is neutral, so the normal BLTime
BACKLIGHT_TurnOff(); // turn the LCD backlight off // inactivity countdown keeps running from the last keypress (no forced turn-off).
SendVersion(Port); SendVersion(Port);
} }
@@ -624,8 +624,8 @@ static void CMD_052F(uint32_t Port, const uint8_t *pBuffer)
} }
#endif #endif
if (gEeprom.BACKLIGHT_TIME < 61) // backlight is set to be always on // Backlight left untouched: a serial session is neutral, so the normal BLTime
BACKLIGHT_TurnOff(); // turn the LCD backlight off // inactivity countdown keeps running from the last keypress (no forced turn-off).
SendVersion(Port); SendVersion(Port);
} }