mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- neutrino.cpp: fix funny typo :)
This commit is contained in:
@@ -1857,9 +1857,9 @@ TIMER_START();
|
|||||||
dprintf(DEBUG_NORMAL, "g_info.has_fan: %d\n", g_info.has_fan);
|
dprintf(DEBUG_NORMAL, "g_info.has_fan: %d\n", g_info.has_fan);
|
||||||
//fan speed
|
//fan speed
|
||||||
if (g_info.has_fan) {
|
if (g_info.has_fan) {
|
||||||
CFanControlNotifier * funNotifier= new CFanControlNotifier();
|
CFanControlNotifier * fanNotifier= new CFanControlNotifier();
|
||||||
funNotifier->changeNotify(NONEXISTANT_LOCALE, (void*) &g_settings.fan_speed);
|
fanNotifier->changeNotify(NONEXISTANT_LOCALE, (void*) &g_settings.fan_speed);
|
||||||
delete funNotifier;
|
delete fanNotifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
dvbsub_init();
|
dvbsub_init();
|
||||||
@@ -2987,9 +2987,9 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
|
|||||||
powerManager->SetStandby(true, true);
|
powerManager->SetStandby(true, true);
|
||||||
if (g_info.delivery_system == DVB_S && (cs_get_revision() < 8)) {
|
if (g_info.delivery_system == DVB_S && (cs_get_revision() < 8)) {
|
||||||
int fspeed = 0;
|
int fspeed = 0;
|
||||||
CFanControlNotifier * funNotifier= new CFanControlNotifier();
|
CFanControlNotifier * fanNotifier= new CFanControlNotifier();
|
||||||
funNotifier->changeNotify(NONEXISTANT_LOCALE, (void *) &fspeed);
|
fanNotifier->changeNotify(NONEXISTANT_LOCALE, (void *) &fspeed);
|
||||||
delete funNotifier;
|
delete fanNotifier;
|
||||||
}
|
}
|
||||||
if (powerManager) {
|
if (powerManager) {
|
||||||
powerManager->Close();
|
powerManager->Close();
|
||||||
@@ -3022,8 +3022,8 @@ void CNeutrinoApp::ExitRun(const bool /*write_si*/, int retcode)
|
|||||||
//fan speed
|
//fan speed
|
||||||
if (g_info.has_fan) {
|
if (g_info.has_fan) {
|
||||||
int fspeed = 0;
|
int fspeed = 0;
|
||||||
CFanControlNotifier funNotifier;
|
CFanControlNotifier fanNotifier;
|
||||||
funNotifier.changeNotify(NONEXISTANT_LOCALE, (void *) &fspeed);
|
fanNotifier.changeNotify(NONEXISTANT_LOCALE, (void *) &fspeed);
|
||||||
}
|
}
|
||||||
//CVFD::getInstance()->ShowText(g_Locale->getText(LOCALE_MAINMENU_REBOOT));
|
//CVFD::getInstance()->ShowText(g_Locale->getText(LOCALE_MAINMENU_REBOOT));
|
||||||
stop_video();
|
stop_video();
|
||||||
@@ -3212,9 +3212,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
|||||||
//fan speed
|
//fan speed
|
||||||
if (g_info.has_fan) {
|
if (g_info.has_fan) {
|
||||||
int fspeed = 1;
|
int fspeed = 1;
|
||||||
CFanControlNotifier * funNotifier= new CFanControlNotifier();
|
CFanControlNotifier * fanNotifier= new CFanControlNotifier();
|
||||||
funNotifier->changeNotify(NONEXISTANT_LOCALE, (void *) &fspeed);
|
fanNotifier->changeNotify(NONEXISTANT_LOCALE, (void *) &fspeed);
|
||||||
delete funNotifier;
|
delete fanNotifier;
|
||||||
}
|
}
|
||||||
frameBuffer->setActive(false);
|
frameBuffer->setActive(false);
|
||||||
// Active standby on
|
// Active standby on
|
||||||
@@ -3239,9 +3239,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
|||||||
frameBuffer->setActive(true);
|
frameBuffer->setActive(true);
|
||||||
//fan speed
|
//fan speed
|
||||||
if (g_info.has_fan) {
|
if (g_info.has_fan) {
|
||||||
CFanControlNotifier * funNotifier= new CFanControlNotifier();
|
CFanControlNotifier * fanNotifier= new CFanControlNotifier();
|
||||||
funNotifier->changeNotify(NONEXISTANT_LOCALE, (void*) &g_settings.fan_speed);
|
fanNotifier->changeNotify(NONEXISTANT_LOCALE, (void*) &g_settings.fan_speed);
|
||||||
delete funNotifier;
|
delete fanNotifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
puts("[neutrino.cpp] executing " NEUTRINO_LEAVE_STANDBY_SCRIPT ".");
|
puts("[neutrino.cpp] executing " NEUTRINO_LEAVE_STANDBY_SCRIPT ".");
|
||||||
|
Reference in New Issue
Block a user