bugfix cpu speed arm - type
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user