From c0a2c338eec6e3598a307188546b9c5de4641939 Mon Sep 17 00:00:00 2001 From: Drath Date: Fri, 2 Jan 2026 19:21:26 +0100 Subject: [PATCH] lil bug --- src/cpu.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/cpu.cpp b/src/cpu.cpp index 4b98273..cde5597 100644 --- a/src/cpu.cpp +++ b/src/cpu.cpp @@ -18,8 +18,7 @@ void detectHwmon(cpuSensors* target, const std::string& pci) { return; } - if (utils::fileExists(target->hwmon + "/in1_input")) // idk if this is reliable, we're trying to avoid just reading the name - target->module = k10temp; + target->module = utils::fileExists(target->hwmon + "/in1_input") ? zenpower : k10temp; // idk if this is reliable, we're trying to avoid just reading the name applog(LOG::INF, "Detected module no. {} in path \"{}\"", target->module ? "zenpower" : "k10temp", target->hwmon); }