- enable graphlcd for vu+ only; TODO: needs more fixes

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-12-20 23:16:54 +01:00
committed by Thilo Graf
parent 32c13c0398
commit 5132a99b11
2 changed files with 10 additions and 3 deletions

View File

@@ -691,7 +691,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.osd_colorsettings_advanced_mode = configfile.getBool("osd_colorsettings_advanced_mode", false);
#ifdef ENABLE_GRAPHLCD
g_settings.glcd_enable = configfile.getInt32("glcd_enable", 1);
g_settings.glcd_enable = configfile.getInt32("glcd_enable", strcmp(g_info.hw_caps->boxvendor, "VU+") == 0);
g_settings.glcd_time_in_standby = configfile.getInt32("glcd_time_in_standby", 1);
g_settings.glcd_standby_weather = configfile.getInt32("glcd_standby_weather", 1);
@@ -1356,12 +1356,19 @@ void CNeutrinoApp::upgradeSetup(const char * fname)
g_settings.timer_followscreenings = 2 /*always*/;
configfile.deleteKey("recording_tevents");
}
if (g_settings.version_pseudo < "20170711000000")
if (g_settings.version_pseudo < "20200711000000")
{
#ifdef ENABLE_GRAPHLCD
configfile.deleteKey("glcd_show_logo");
#endif
}
if (g_settings.version_pseudo < "20201220000000")
{
#ifdef ENABLE_GRAPHLCD
if (strcmp(g_info.hw_caps->boxvendor, "VU+") != 0)
g_settings.glcd_enable = 0;
#endif
}
g_settings.version_pseudo = NEUTRINO_VERSION_PSEUDO;
configfile.setString("version_pseudo", g_settings.version_pseudo);

View File

@@ -1 +1 @@
#define NEUTRINO_VERSION_PSEUDO "20170711000000"
#define NEUTRINO_VERSION_PSEUDO "20201220000000"