Set the backlight to minimum on reboot
This commit is contained in:
@@ -26,13 +26,14 @@ bool backlightOn;
|
|||||||
|
|
||||||
void BACKLIGHT_TurnOn(void)
|
void BACKLIGHT_TurnOn(void)
|
||||||
{
|
{
|
||||||
if (gEeprom.BACKLIGHT_TIME == 0)
|
if (gEeprom.BACKLIGHT_TIME != 0) {
|
||||||
|
backlightOn = true;
|
||||||
|
BACKLIGHT_SetBrightness(gEeprom.BACKLIGHT_MAX);
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
BACKLIGHT_TurnOff();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
backlightOn = true;
|
|
||||||
|
|
||||||
// turn the backlight ON
|
|
||||||
BACKLIGHT_SetBrightness(gEeprom.BACKLIGHT_MAX);
|
|
||||||
|
|
||||||
switch (gEeprom.BACKLIGHT_TIME)
|
switch (gEeprom.BACKLIGHT_TIME)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user