5700xt has a new address apppearently, might need to make it autodetect

This commit is contained in:
Drath
2025-09-19 15:38:15 +02:00
parent 9eb99ad7bc
commit 239fbf349e

View File

@@ -66,7 +66,7 @@ void hassThread(std::stop_token st, Sensors* s) {
void sensorsThread(std::stop_token st, Sensors* s) {
std::println("[Thread] Starting sensors_thread, pid {}, poll interval {} ms", gettid(), LCD_INTERVAL_MS);
cpu::detectHwmon(&s->cpu, "0000:00:18.3");
gpu::detectHwmon(&s->gpu, "0000:08:00.0");
gpu::detectHwmon(&s->gpu, "0000:0a:00.0");
while (!st.stop_requested()) {
auto start = std::chrono::steady_clock::now();