neutrino: always clear display when going to standby

...even if the display is already in standby mode...
This commit is contained in:
Stefan Seyfried
2017-12-31 13:00:02 +01:00
committed by Thilo Graf
parent da03132009
commit 2a645b1a71

View File

@@ -4146,10 +4146,8 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
} }
} }
if(CVFD::getInstance()->getMode() != CVFD::MODE_STANDBY){ CVFD::getInstance()->Clear();
CVFD::getInstance()->Clear(); CVFD::getInstance()->setMode(CVFD::MODE_STANDBY);
CVFD::getInstance()->setMode(CVFD::MODE_STANDBY);
}
CVFD::getInstance()->setBacklight(g_settings.backlight_standby); CVFD::getInstance()->setBacklight(g_settings.backlight_standby);
InfoClock->enableInfoClock(false); InfoClock->enableInfoClock(false);