diff --git a/CHANGELOG.md b/CHANGELOG.md index fa4780e..48c7df2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -99,6 +99,7 @@ Other changes | Version | Date | Comment | | -------------- | -------------- | -------- | +| 3.33.3 | 2017-11-08 | bugfix cpu speed arm - type | | 3.33.2 | 2017-11-08 | bugfix cpu speed arm | | 3.33.1 | 2017-11-07 | improved bios and main board information | | 3.33.0 | 2017-11-07 | added bios and main board information | diff --git a/lib/cpu.js b/lib/cpu.js index 66569ca..9d44a17 100644 --- a/lib/cpu.js +++ b/lib/cpu.js @@ -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;