- use g_info.hw_caps->can_cpufreq to control the cpu frequency

Conflicts:
	src/neutrino.cpp

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2020-08-30 22:49:37 +02:00
committed by Thilo Graf
parent 6491c66a66
commit 42b184f2e9
4 changed files with 22 additions and 30 deletions

View File

@@ -631,7 +631,8 @@ extern cCpuFreqManager * cpuFreq;
printf("CCpuFreqNotifier: %d Mhz\n", freq);
freq *= 1000*1000;
cpuFreq->SetCpuFreq(freq);
if (cpuFreq)
cpuFreq->SetCpuFreq(freq);
return false;
}