From 1b62e891dbba53d31c8149c90b029f326cb4ff29 Mon Sep 17 00:00:00 2001 From: satbaby Date: Sun, 6 Mar 2011 19:06:39 +0000 Subject: [PATCH] git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1269 e54a6e83-5905-42d5-8d5c-058d10e6a962 --- src/neutrino.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 4d1fdbba9..5383320a0 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -2152,8 +2152,13 @@ int CNeutrinoApp::run(int argc, char **argv) if (!scanSettings.loadSettings(NEUTRINO_SCAN_SETTINGS_FILE, g_info.delivery_system)) { dprintf(DEBUG_NORMAL, "Loading of scan settings failed. Using defaults.\n"); } +#if HAVE_TRIPLEDRAGON /* only SAT-hd1 before rev 8 has fan, rev 1 is TD (compat hack) */ g_info.has_fan = (cs_get_revision() > 1 && cs_get_revision() < 8 && g_info.delivery_system == DVB_S); +#else + g_info.has_fan = (cs_get_revision() < 8 && g_info.delivery_system == DVB_S); +#endif + dprintf(DEBUG_NORMAL, "g_info.has_fan: %d\n", g_info.has_fan); //fan speed if (g_info.has_fan) {