mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
use g_info.hw_caps->can_cpufreq to control the cpu frequency
Origin commit data
------------------
Commit: 474e66e129
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-08-30 (Sun, 30 Aug 2020)
Origin message was:
------------------
- use g_info.hw_caps->can_cpufreq to control the cpu frequency
This commit is contained in:
@@ -743,7 +743,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