fix bug where unmonitored gpus contribute to fan speed
This commit is contained in:
parent
2aa8d88f32
commit
ef6b0c7d4b
6
main.cpp
6
main.cpp
@ -81,10 +81,10 @@ double gpu_fan_zone(const std::vector<Sensor>& sensors)
|
||||
{
|
||||
if(sensor.chip == gpu.first)
|
||||
{
|
||||
gpu.second = true;
|
||||
}
|
||||
if(max_temp < sensor.reading)
|
||||
max_temp = sensor.reading;
|
||||
gpu.second = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -97,7 +97,7 @@ double gpu_fan_zone(const std::vector<Sensor>& sensors)
|
||||
}
|
||||
}
|
||||
|
||||
return fan_curve(max_temp, 0.10, 1.0, 45, 75);
|
||||
return fan_curve(max_temp, 0.05, 1.0, 45, 75);
|
||||
}
|
||||
|
||||
double system_fan_zone(const std::vector<Sensor>& sensors)
|
||||
|
Loading…
x
Reference in New Issue
Block a user