- speedup standby handling by setting standby cpu-frequenzy later

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2124 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
striper
2012-02-25 18:59:48 +00:00
parent 1378d78557
commit 85927dbddf

View File

@@ -3343,7 +3343,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
if(!CRecordManager::getInstance()->RecordingStatus()) {
g_Zapit->setStandby(true);
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
} else {
g_Zapit->stopPlayBack();
}
@@ -3371,6 +3370,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff )
if (system(NEUTRINO_ENTER_STANDBY_SCRIPT) != 0)
perror(NEUTRINO_ENTER_STANDBY_SCRIPT " failed");
if(!CRecordManager::getInstance()->RecordingStatus())
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
lastMode = mode;
mode = mode_standby;
//fan speed