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

View File

@ -99,6 +99,7 @@ Other changes
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 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 |
| 3.32.4 | 2017-11-02 | AMD cpu base frequencies table also for windows |

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;