mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
rc_lock: lock for rc_lock, use only once, supplement to 9e3567dc09
This commit is contained in:
@@ -3197,6 +3197,9 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
||||
if(mode == mode_radio && g_Radiotext)
|
||||
g_Radiotext->radiotext_stop();
|
||||
|
||||
lastMode = mode;
|
||||
mode = mode_standby;
|
||||
|
||||
if(!fromDeepStandby && !CRecordManager::getInstance()->RecordingStatus()) {
|
||||
g_Zapit->setStandby(true);
|
||||
} else {
|
||||
@@ -3232,8 +3235,6 @@ void CNeutrinoApp::standbyMode( bool bOnOff, bool fromDeepStandby )
|
||||
if(!CRecordManager::getInstance()->RecordingStatus())
|
||||
cpuFreq->SetCpuFreq(g_settings.standby_cpufreq * 1000 * 1000);
|
||||
|
||||
lastMode = mode;
|
||||
mode = mode_standby;
|
||||
//fan speed
|
||||
if (g_info.has_fan) {
|
||||
int fspeed = 1;
|
||||
|
Reference in New Issue
Block a user