From 98a22dfd9c855cc9a552297c072145fe2168d0bf Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Mon, 15 Mar 2021 23:51:54 +0100 Subject: [PATCH] - neutrino: force new keys for pip Signed-off-by: Thilo Graf --- src/neutrino.cpp | 10 ++++++++++ version_pseudo.h | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 902856970..d30eaffca 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -1381,6 +1381,16 @@ void CNeutrinoApp::upgradeSetup(const char * fname) g_settings.glcd_enable = 0; #endif } + if (g_settings.version_pseudo < "20212344000000") + { + // force new keys for pip + g_settings.key_switchformat = CRCInput::RC_nokey; + g_settings.key_next43mode = CRCInput::RC_nokey; + + g_settings.key_pip_close = CRCInput::RC_prev; + g_settings.key_pip_setup = CRCInput::RC_nokey; + g_settings.key_pip_swap = CRCInput::RC_next; + } 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 b41df42b2..985618afd 100644 --- a/version_pseudo.h +++ b/version_pseudo.h @@ -1 +1 @@ -#define NEUTRINO_VERSION_PSEUDO "20201220000000" +#define NEUTRINO_VERSION_PSEUDO "20212344000000"