mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
glcdsetup: disable analog clock in standby mode; front display is flickering as hell
Origin commit data
------------------
Commit: 8cad105bde
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-06-15 (Mon, 15 Jun 2020)
Origin message was:
------------------
- glcdsetup: disable analog clock in standby mode; front display is flickering as hell
This commit is contained in:
@@ -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))
|
||||
|
||||
|
@@ -1400,6 +1400,12 @@ void CNeutrinoApp::upgradeSetup(const char * fname)
|
||||
{
|
||||
configfile.deleteKey("channellist_primetime");
|
||||
}
|
||||
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);
|
||||
|
@@ -1 +1 @@
|
||||
#define NEUTRINO_VERSION_PSEUDO "20190305000000"
|
||||
#define NEUTRINO_VERSION_PSEUDO "20200615000000"
|
||||
|
Reference in New Issue
Block a user