Fix glances cpu temp detection & fahrenheit conversion

This commit is contained in:
shamoon 2023-04-03 21:47:39 -07:00
parent 2ab8e63df2
commit f3ec238a2c
2 changed files with 21 additions and 6 deletions

View file

@ -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 }) {