bugfix cpu speed arm

This commit is contained in:
Sebastian Hildebrandt
2017-11-08 11:08:58 +01:00
parent 25da8813e5
commit 18a452216c
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ function getCpu() {
}
if (result.speed === '0.00') {
let current = getCpuCurrentSpeedSync();
if (current !== '0.00') result.speed = current;
if (current !== '0.00') result.speed = current.avg;
}
_cpu_speed = result.speed;
result.speedmin = Math.round(parseFloat(util.getValue(lines, 'cpu min mhz').replace(/,/g, '.')) / 10.0) / 100;