This commit is contained in:
Armel FAUVEAU
2024-05-05 05:13:32 +02:00
parent f1f9c91de4
commit 18644e5a06

View File

@@ -844,11 +844,13 @@ void APP_Update(void)
{
if (gBlinkCounter == 0)
{
BACKLIGHT_TurnOn();
//BACKLIGHT_TurnOn();
BACKLIGHT_SetBrightness(gEeprom.BACKLIGHT_MAX);
}
else if(gBlinkCounter == 15000)
{
BACKLIGHT_TurnOff();
//BACKLIGHT_TurnOff();
BACKLIGHT_SetBrightness(gEeprom.BACKLIGHT_MIN);
}
}
}
@@ -878,6 +880,12 @@ void APP_Update(void)
gTxTimeoutReached = false;
#ifdef ENABLE_FEAT_F4HWN
if(gBacklightCountdown_500ms > 0 || gEeprom.BACKLIGHT_TIME == 61)
{
//BACKLIGHT_TurnOn();
BACKLIGHT_SetBrightness(gEeprom.BACKLIGHT_MAX);
}
gTxTimeoutReachedAlert = false;
gTxTimeoutToneAlert = 800;