Skip to content

Commit

Permalink
Fix issue armel#76
Browse files Browse the repository at this point in the history
  • Loading branch information
armel committed May 5, 2024
1 parent f1f9c91 commit 18644e5
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions app/app.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 18644e5

Please sign in to comment.