mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-10 23:08:07 +00:00
Limit fanspeed to 85% properly when temperature is below overheat levels.
This commit is contained in:
parent
40491cd537
commit
ee06a3baca
2
adl.c
2
adl.c
@ -734,6 +734,8 @@ void gpu_autotune(int gpu)
|
||||
if (opt_debug)
|
||||
applog(LOG_DEBUG, "Temperature over target, increasing fanspeed");
|
||||
newpercent = fanpercent + 5;
|
||||
if (newpercent > 85)
|
||||
newpercent = 85;
|
||||
} else if (fanpercent && temp < ga->targettemp - opt_hysteresis) {
|
||||
if (opt_debug)
|
||||
applog(LOG_DEBUG, "Temperature %d degrees below target, decreasing fanspeed", opt_hysteresis);
|
||||
|
Loading…
Reference in New Issue
Block a user