From 6ca6125cb91829de0ce873b561ad6dda485345d6 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 25 Nov 2017 09:58:55 +0100 Subject: [PATCH] neutrino: re-disable screensaver for mode_webradio on ARM_HARDWARE when screensaver is stopped the playback is stopped too Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c409630993791eaab08452ddafac1d4c54a4c749 Author: vanhofen Date: 2017-11-25 (Sat, 25 Nov 2017) Origin message was: ------------------ - neutrino: re-disable screensaver for mode_webradio on ARM_HARDWARE when screensaver is stopped the playback is stopped too ------------------ This commit was generated by Migit --- src/neutrino.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 1c0fa106e..49869d7f6 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2781,7 +2781,11 @@ void CNeutrinoApp::RealRun() if (msg <= CRCInput::RC_MaxRC) CScreenSaver::getInstance()->resetIdleTime(); +#if HAVE_ARM_HARDWARE + if (mode == NeutrinoModes::mode_radio) +#else if (mode == NeutrinoModes::mode_radio || mode == NeutrinoModes::mode_webradio) +#endif { bool ignored_msg = ( /* radio screensaver will ignore this msgs */