mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 11:08:20 +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
|
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user