From 4ebed1e3498aafb8cf3bcada13234d51876484cb Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 15 Mar 2021 23:51:54 +0100 Subject: [PATCH] neutrino: force new keys for pip Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/ebeb02309c376f02bc3437c8530d8ca360069337 Author: vanhofen Date: 2021-03-15 (Mon, 15 Mar 2021) Origin message was: ------------------ - neutrino: force new keys for pip ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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 ebd4075ac..dd30ed68f 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -1439,6 +1439,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"