mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 18:31:22 +02:00
- 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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user