neutrino: only coolstream needs a fan

This commit is contained in:
Stefan Seyfried
2012-07-15 11:49:18 +02:00
parent 5abc54f429
commit 56b6f274c9

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