Fix glances cpu temp detection & fahrenheit conversion
This commit is contained in:
1 parent
2ab8e63df2
commit
f3ec238a2c
2 files changed
+21
-6
No files matched your search
@@ -6,7 +6,7 @@ import { useTranslation } from "next-i18next";
|
||||
import UsageBar from "./usage-bar";
|
||||
|
||||
function convertToFahrenheit(t) {
|
||||
return t * 5/9 + 32
|
||||
return t * 9/5 + 32
|
||||
}
|
||||
|
||||
export default function CpuTemp({ expanded, units }) {
|
||||
|
||||
Reference in new issue
Block a user