From 9d6d2daeb76285e5d52c4e0ef2fdbc8e78911bcf Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 1 Aug 2017 12:35:25 +0200 Subject: [PATCH] fix hw_caps init for non-coolstream hardware Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/0732790aeade2bfbaa05667e807b58a0baa4f93c Author: vanhofen Date: 2017-08-01 (Tue, 01 Aug 2017) Origin message was: ------------------ - fix hw_caps init for non-coolstream hardware --- src/neutrino.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 91aa8ae0b..ba06db0b2 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2292,6 +2292,9 @@ TIMER_START(); cs_new_auto_videosystem(); #endif +#if !HAVE_COOL_HARDWARE + g_info.hw_caps = get_hwcaps(); +#endif g_Locale = new CLocaleManager; int loadSettingsErg = loadSetup(NEUTRINO_SETTINGS_FILE); @@ -2392,8 +2395,10 @@ TIMER_START(); CheckFastScan(); +#if HAVE_COOL_HARDWARE // init hw_caps *after* zapit start! g_info.hw_caps = get_hwcaps(); +#endif //timer start timer_wakeup = false;//init