From 2178d877185a074e160f44a8b32c5c2d0de98380 Mon Sep 17 00:00:00 2001 From: Drath Date: Sun, 28 Dec 2025 21:36:20 +0100 Subject: [PATCH] try to fix ts --- src/cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpu.cpp b/src/cpu.cpp index 1f02d59..e15a1a9 100644 --- a/src/cpu.cpp +++ b/src/cpu.cpp @@ -17,7 +17,7 @@ void detectHwmon(cpuSensors* target, const std::string& pci) { return; } - target->zenpower = false; // we were using readFileToStr to figure this out, we dont f/w it anymore, find another way (see if hwmon/in1_input exists?) + target->zenpower = utils::fileExists(target->hwmon+ "/in1_input"); // idk if this is reliable, we're trying to avoid just reading the name applog(LOG::INF, "Detected module \"{}\" in path \"{}\"", target->zenpower ? "zenpower" : "k10temp", target->hwmon); }