neutrino: only coolstream needs a fan

Origin commit data
------------------
Commit: 56b6f274c9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2012-07-15 (Sun, 15 Jul 2012)
This commit is contained in:
Stefan Seyfried
2012-07-15 11:49:18 +02:00
parent add8729194
commit 5ee3400030

View File

@@ -1773,10 +1773,10 @@ fprintf(stderr, "[neutrino start] %d -> %5ld ms\n", __LINE__, time_monotonic_ms
dprintf(DEBUG_NORMAL, "Loading of scan settings failed. Using defaults.\n");
}
fprintf(stderr, "[neutrino start] %d -> %5ld ms\n", __LINE__, time_monotonic_ms() - starttime);
#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);
#if !HAVE_COOL_HARDWARE
g_info.has_fan = 0;
#else
/* only SAT-hd1 before rev 8 has fan */
g_info.has_fan = (cs_get_revision() < 8 && g_info.delivery_system == DVB_S);
#endif