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

3
main.c
View File

@@ -110,7 +110,8 @@ void Main(void)
if (!gChargingWithTypeC && !gBatteryDisplayLevel)
{
FUNCTION_Select(FUNCTION_POWER_SAVE);
GPIO_ClearBit(&GPIOB->DATA, GPIOB_PIN_BACKLIGHT);
//if (gEeprom.BACKLIGHT < 5)
GPIO_ClearBit(&GPIOB->DATA, GPIOB_PIN_BACKLIGHT);
gReducedService = true;
}
else