0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-19 06:39:49 +03:00

Added always ON backlight menu option

This commit is contained in:
OneOfEleven
2023-09-10 14:07:23 +01:00
parent 16434c8d14
commit 37afeb0414
8 changed files with 11 additions and 5 deletions

View File

@ -23,7 +23,7 @@ uint8_t gBacklightCountdown;
void BACKLIGHT_TurnOn(void)
{
if (gEeprom.BACKLIGHT)
if (gEeprom.BACKLIGHT > 0)
{
GPIO_SetBit(&GPIOB->DATA, GPIOB_PIN_BACKLIGHT);
#if 0