mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Don't force backlight off on serial session init
This commit is contained in:
1 parent
d12dbe0bf9
commit
960d13e120
1 file changed
+4
-4
+4
-4
@@ -366,8 +366,8 @@ static void CMD_0514(uint32_t Port, const uint8_t *pBuffer)
|
||||
|
||||
gSerialConfigCountDown_500ms = 12; // 6 sec
|
||||
|
||||
if (gEeprom.BACKLIGHT_TIME < 61) // backlight is set to be always on
|
||||
BACKLIGHT_TurnOff(); // turn the LCD backlight off
|
||||
// Backlight left untouched: a serial session is neutral, so the normal BLTime
|
||||
// inactivity countdown keeps running from the last keypress (no forced turn-off).
|
||||
|
||||
SendVersion(Port);
|
||||
}
|
||||
@@ -624,8 +624,8 @@ static void CMD_052F(uint32_t Port, const uint8_t *pBuffer)
|
||||
}
|
||||
#endif
|
||||
|
||||
if (gEeprom.BACKLIGHT_TIME < 61) // backlight is set to be always on
|
||||
BACKLIGHT_TurnOff(); // turn the LCD backlight off
|
||||
// Backlight left untouched: a serial session is neutral, so the normal BLTime
|
||||
// inactivity countdown keeps running from the last keypress (no forced turn-off).
|
||||
|
||||
SendVersion(Port);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user