Improve BackLt (35/63)
This commit is contained in:
@@ -504,7 +504,7 @@ void ACTION_BackLightOnDemand(void)
|
||||
if(gBackLight == false)
|
||||
{
|
||||
gBacklightTimeOriginal = gEeprom.BACKLIGHT_TIME;
|
||||
gEeprom.BACKLIGHT_TIME = 17;
|
||||
gEeprom.BACKLIGHT_TIME = 61;
|
||||
gBackLight = true;
|
||||
}
|
||||
else
|
||||
@@ -515,7 +515,7 @@ void ACTION_BackLightOnDemand(void)
|
||||
}
|
||||
else
|
||||
{
|
||||
gEeprom.BACKLIGHT_TIME = 17;
|
||||
gEeprom.BACKLIGHT_TIME = 61;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -1483,7 +1483,7 @@ void APP_TimeSlice500ms(void)
|
||||
// don't turn off backlight if user is in backlight menu option
|
||||
&& !(gScreenToDisplay == DISPLAY_MENU && (UI_MENU_GetCurrentMenuId() == MENU_ABR || UI_MENU_GetCurrentMenuId() == MENU_ABR_MAX))
|
||||
&& --gBacklightCountdown_500ms == 0
|
||||
&& gEeprom.BACKLIGHT_TIME < 17
|
||||
&& gEeprom.BACKLIGHT_TIME < 61
|
||||
) {
|
||||
BACKLIGHT_TurnOff();
|
||||
}
|
||||
|
@@ -129,7 +129,7 @@ int MENU_GetLimits(uint8_t menu_id, int32_t *pMin, int32_t *pMax)
|
||||
|
||||
case MENU_ABR:
|
||||
//*pMin = 0;
|
||||
*pMax = 17;
|
||||
*pMax = 61;
|
||||
break;
|
||||
|
||||
case MENU_ABR_MIN:
|
||||
|
Reference in New Issue
Block a user