Browse Source

adl fix trailing %

nfactor-troky
Kano 12 years ago
parent
commit
7e3242b05c
  1. 2
      adl.c

2
adl.c

@ -1067,7 +1067,7 @@ static bool fan_autotune(int gpu, int temp, int fanpercent, int lasttemp, bool *
get_fanrange(gpu, &iMin, &iMax); get_fanrange(gpu, &iMin, &iMax);
if (temp > ga->overtemp && fanpercent < iMax) { if (temp > ga->overtemp && fanpercent < iMax) {
applog(LOG_WARNING, "Overheat detected on GPU %d, increasing fan to 100%", gpu); applog(LOG_WARNING, "Overheat detected on GPU %d, increasing fan to 100%%", gpu);
newpercent = iMax; newpercent = iMax;
dev_error(cgpu, REASON_DEV_OVER_HEAT); dev_error(cgpu, REASON_DEV_OVER_HEAT);

Loading…
Cancel
Save