mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 22:48:46 +00:00
Fix glances cpu temp detection & fahrenheit conversion
This commit is contained in:
parent
2ab8e63df2
commit
f3ec238a2c
2 changed files with 21 additions and 6 deletions
|
@ -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 }) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue