init fan speed

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1249 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: bda19bfb2a
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-03-06 (Sun, 06 Mar 2011)
This commit is contained in:
Jacek Jendrzej
2011-03-06 13:03:38 +00:00
parent 7d77807f73
commit 20ea6472c0

View File

@@ -2155,6 +2155,12 @@ int CNeutrinoApp::run(int argc, char **argv)
/* 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);
dprintf(DEBUG_NORMAL, "g_info.has_fan: %d\n", g_info.has_fan);
//fan speed
if (g_info.has_fan) {
CFanControlNotifier * funNotifier= new CFanControlNotifier();
funNotifier->changeNotify(NONEXISTANT_LOCALE, (void*) &g_settings.fan_speed);
delete funNotifier;
}
CVFD::getInstance()->showVolume(g_settings.current_volume);