diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 7580a2966..4d73be5b3 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -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); diff --git a/version_pseudo.h b/version_pseudo.h index b17a92186..b41df42b2 100644 --- a/version_pseudo.h +++ b/version_pseudo.h @@ -1 +1 @@ -#define NEUTRINO_VERSION_PSEUDO "20170711000000" +#define NEUTRINO_VERSION_PSEUDO "20201220000000"