1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-23 04:54:26 +00:00

Logic fail on engine multiplier.

This commit is contained in:
Con Kolivas 2012-02-13 10:47:05 +11:00
parent fd05341a87
commit b0787e07c8

2
adl.c
View File

@ -1032,7 +1032,7 @@ void gpu_autotune(int gpu, bool *enable)
unlock_adl(); unlock_adl();
newengine = engine = gpu_engineclock(gpu) * 100; newengine = engine = gpu_engineclock(gpu) * 100;
levengine = lpOdPerformanceLevels->aLevels[lev].iEngineClock * 100; levengine = lpOdPerformanceLevels->aLevels[lev].iEngineClock / 100;
if (temp && fanpercent >= 0 && ga->autofan) { if (temp && fanpercent >= 0 && ga->autofan) {
if (!ga->twin) if (!ga->twin)