This commit is contained in:
Drath
2025-09-11 17:57:25 +02:00

View File

@@ -121,7 +121,7 @@ auto getGpuMetrics(GpuMetricsHeader_t h, std::string path) {
// clean abstraction of gpu_metrics + extra metrics from fs, works with rx7800xt
gpu_t getGpu(GpuMetricsHeader_t header, std::string hw) {
gpu_t gpu;
uint8_t hwmon = 3;
uint8_t hwmon = 4;
// these are always read from fs
gpu.fan_speed = std::stol(readFile(hw + "/hwmon/hwmon" + std::to_string(hwmon) + "/fan1_input"));