- glcdsetup: disable analog clock in standby mode; front display is flickering as hell

Conflicts:
	version_pseudo.h

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-06-15 12:03:20 +02:00
committed by Thilo Graf
parent 759186f89f
commit d9a712c602
3 changed files with 8 additions and 2 deletions

View File

@@ -223,7 +223,7 @@ static const CMenuOptionChooser::keyval GLCD_CLOCK_OPTIONS[] = {
{ nGLCD::CLOCK_OFF, LOCALE_OPTIONS_OFF },
{ nGLCD::CLOCK_DIGITAL_HM, LOCALE_GLCD_CLOCK_DIGITAL_HM },
// { nGLCD::CLOCK_DIGITAL_HMS, LOCALE_GLCD_CLOCK_DIGITAL_HMS },
{ nGLCD::CLOCK_ANALOG, LOCALE_GLCD_CLOCK_ANALOG }
// { nGLCD::CLOCK_ANALOG, LOCALE_GLCD_CLOCK_ANALOG }
};
#define GLCD_CLOCK_OPTIONS_COUNT (sizeof(GLCD_CLOCK_OPTIONS)/sizeof(CMenuOptionChooser::keyval))

View File

@@ -1328,6 +1328,12 @@ void CNeutrinoApp::upgradeSetup(const char * fname)
g_settings.timer_followscreenings = 2 /*always*/;
configfile.deleteKey("recording_tevents");
}
if (g_settings.version_pseudo < "20200615000000")
{
// disable analog clock in standby mode
if (g_settings.glcd_time_in_standby > 1)
g_settings.glcd_time_in_standby = 1;
}
g_settings.version_pseudo = NEUTRINO_VERSION_PSEUDO;
configfile.setString("version_pseudo", g_settings.version_pseudo);

View File

@@ -1 +1 @@
#define NEUTRINO_VERSION_PSEUDO "20190115000000"
#define NEUTRINO_VERSION_PSEUDO "20200615000000"