mirror of
https://github.com/AdnanHodzic/auto-cpufreq.git
synced 2025-07-31 01:24:29 +02:00
Fix: Getting incorrect CPU Max value
This commit is contained in:
parent
432883acee
commit
947e69c79d
@ -202,12 +202,12 @@ function set_frequency_max () {
|
||||
|
||||
function get_frequency_min_limit () {
|
||||
if [ -z $CORE ]; then CORE=0; fi
|
||||
cat $FLROOT/cpu$CORE/cpufreq/cpuinfo_min_freq
|
||||
cat $FLROOT/cpu$CORE/cpufreq/scaling_min_freq
|
||||
}
|
||||
|
||||
function get_frequency_max_limit () {
|
||||
if [ -z $CORE ]; then CORE=0; fi
|
||||
cat $FLROOT/cpu$CORE/cpufreq/cpuinfo_max_freq
|
||||
cat $FLROOT/cpu$CORE/cpufreq/scaling_max_freq
|
||||
}
|
||||
|
||||
function get_energy_performance_preference () {
|
||||
|
Loading…
x
Reference in New Issue
Block a user