From dc5acd1bf4d27fb0e55a8fe7a5d82f95d0eaf29a Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 3 Oct 2019 01:26:27 +0200 Subject: [PATCH] neutrino: fix key_timeshift for vu+ models Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/66234fb13bba79b01b2d261a0497251e6dc5a80a Author: vanhofen Date: 2019-10-03 (Thu, 03 Oct 2019) Origin message was: ------------------ - neutrino: fix key_timeshift for vu+ models ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/neutrino.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 574ebdc1a..5930ba7b2 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -5253,8 +5253,10 @@ void CNeutrinoApp::loadKeys(const char * fname) g_settings.key_list_start = tconfig->getInt32( "key_list_start", (unsigned int)CRCInput::RC_nokey ); g_settings.key_list_end = tconfig->getInt32( "key_list_end", (unsigned int)CRCInput::RC_nokey ); -#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE +#if BOXMODEL_HD51 || BOXMODEL_HD60 g_settings.key_timeshift = tconfig->getInt32( "key_timeshift", CRCInput::RC_nokey ); // FIXME +#elif BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K || BOXMODEL_VUZERO4K || BOXMODEL_VUDUO + g_settings.key_timeshift = tconfig->getInt32( "key_timeshift", CRCInput::RC_playpause ); #else g_settings.key_timeshift = tconfig->getInt32( "key_timeshift", CRCInput::RC_pause ); #endif