bugfix cpu speed arm - type

This commit is contained in:
Sebastian Hildebrandt
2017-11-08 11:11:56 +01:00
parent 88524ba5bf
commit d94cd67eea
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.avg;
if (current !== '0.00') result.speed = current.avg.toFixed(2);
}
_cpu_speed = result.speed;
result.speedmin = Math.round(parseFloat(util.getValue(lines, 'cpu min mhz').replace(/,/g, '.')) / 10.0) / 100;