Browse Source

Left out an else after the if statement.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
0d083b63f5
  1. 1
      adl.c

1
adl.c

@ -1081,6 +1081,7 @@ void gpu_autotune(int gpu, enum dev_enable *denable)
applog(LOG_DEBUG, "Temperature below target, increasing clock speed"); applog(LOG_DEBUG, "Temperature below target, increasing clock speed");
if (temp < ga->targettemp - opt_hysteresis) if (temp < ga->targettemp - opt_hysteresis)
newengine = ga->maxspeed; newengine = ga->maxspeed;
else
newengine = engine + ga->lpOdParameters.sEngineClock.iStep; newengine = engine + ga->lpOdParameters.sEngineClock.iStep;
} else if (temp < ga->targettemp && *denable == DEV_RECOVER && opt_restart) { } else if (temp < ga->targettemp && *denable == DEV_RECOVER && opt_restart) {
applog(LOG_NOTICE, "Device recovered to temperature below target, re-enabling"); applog(LOG_NOTICE, "Device recovered to temperature below target, re-enabling");

Loading…
Cancel
Save