Move up affectation
This commit is contained in:
@@ -77,6 +77,10 @@ static void BACKLIGHT_Sound(void)
|
|||||||
|
|
||||||
void BACKLIGHT_TurnOn(void)
|
void BACKLIGHT_TurnOn(void)
|
||||||
{
|
{
|
||||||
|
#ifdef ENABLE_FEAT_F4HWN_SLEEP
|
||||||
|
gSleepModeCountdown_500ms = gSetting_set_off * 120;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef ENABLE_FEAT_F4HWN
|
#ifdef ENABLE_FEAT_F4HWN
|
||||||
gBacklightBrightnessOld = BACKLIGHT_GetBrightness();
|
gBacklightBrightnessOld = BACKLIGHT_GetBrightness();
|
||||||
#endif
|
#endif
|
||||||
@@ -121,10 +125,6 @@ void BACKLIGHT_TurnOn(void)
|
|||||||
gBacklightCountdown_500ms = 0;
|
gBacklightCountdown_500ms = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef ENABLE_FEAT_F4HWN_SLEEP
|
|
||||||
gSleepModeCountdown_500ms = gSetting_set_off * 120;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BACKLIGHT_TurnOff()
|
void BACKLIGHT_TurnOff()
|
||||||
|
Reference in New Issue
Block a user