From ea710f44e1b32b47b7c4256ec137c8af314f9342 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Fri, 17 Nov 2017 09:17:40 +0100 Subject: [PATCH] neutrino: fix tv/radio switch for coolstream; ... the TV/Radio key returns RC_tv. So we can't use RC_radio code here. Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/5b122aefd1ff40b2bb99c4d7b24617a673390c17 Author: vanhofen Date: 2017-11-17 (Fri, 17 Nov 2017) Origin message was: ------------------ - neutrino: fix tv/radio switch for coolstream; ... the TV/Radio key returns RC_tv. So we can't use RC_radio code here. ------------------ This commit was generated by Migit --- src/neutrino.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 577cfbfe4..dd8d97a95 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2990,6 +2990,7 @@ void CNeutrinoApp::RealRun() StartSubtitles(); } else if (((msg == CRCInput::RC_tv) || (msg == CRCInput::RC_radio)) && (g_settings.key_tvradio_mode == (int)CRCInput::RC_nokey)) { +#if HAVE_ARM_HARDWARE if (msg == CRCInput::RC_tv) { if (mode == mode_radio || mode == mode_webradio) @@ -3001,6 +3002,7 @@ void CNeutrinoApp::RealRun() radioMode(); } else +#endif switchTvRadioMode(); //used with defined default tv/radio rc key } /* in case key_subchannel_up/down redefined */