Merge branch 'main' of https://github.com/elektroencefalografista/linuxSmartie
This commit is contained in:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user