diff --git a/src/classes/cpuinfo.class.js b/src/classes/cpuinfo.class.js
index e24abb30..1ba9970c 100644
--- a/src/classes/cpuinfo.class.js
+++ b/src/classes/cpuinfo.class.js
@@ -41,7 +41,7 @@ class Cpuinfo {
${(process.platform === "win32") ? data.cores : "--°C"}
-
MIN
+ SPD
--GHz
@@ -153,10 +153,10 @@ class Cpuinfo {
});
}
updateCPUspeed() {
- window.si.cpuCurrentspeed().then(data => {
+ window.si.cpu().then(data => {
try {
- document.getElementById("mod_cpuinfo_speed_min").innerText = `${data.min}GHz`;
- document.getElementById("mod_cpuinfo_speed_max").innerText = `${data.max}GHz`;
+ document.getElementById("mod_cpuinfo_speed_min").innerText = `${data.speed}GHz`;
+ document.getElementById("mod_cpuinfo_speed_max").innerText = `${data.speedMax}GHz`;
} catch(e) {
// See above notice
}