From d30cf162c15bfabfddd456ceb48a6d3848fa7098 Mon Sep 17 00:00:00 2001 From: e2dk4r <43293320+e2dk4r@users.noreply.github.com> Date: Fri, 12 Jan 2024 14:13:55 +0000 Subject: [PATCH] cpu: temp: add hardware monitoring of asus boards --- src/cpu.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/cpu.cpp b/src/cpu.cpp index 3ea76711..30dbc750 100644 --- a/src/cpu.cpp +++ b/src/cpu.cpp @@ -519,9 +519,12 @@ bool CPUStats::GetCpuFile() { } else if (name == "it8603") { find_input(path, "temp", input, "temp1"); break; - } else if (name == "nct6797") { + } else if (starts_with(name, "nct")) { find_input(path, "temp", input, "TSI0_TEMP"); break; + } else if (name == "asusec") { + find_input(path, "temp", input, "CPU"); + break; } else { path.clear(); }