Commit 07c21bcbc4f506a8ca2db49f09b7daa61d624fdd

Con Kolivas 2011-09-16T10:40:58

Don't forget to set the actual fanspeed too!

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/adl.c b/adl.c
index 5f6fe12..0f6ccd9 100644
--- a/adl.c
+++ b/adl.c
@@ -768,6 +768,7 @@ static int set_fanspeed(int gpu, int iFanSpeed)
 		ga->lpFanSpeedValue.iFlags = ADL_DL_FANCTRL_FLAG_USER_DEFINED_SPEED;
 		ADL_Overdrive5_FanSpeed_Set(ga->iAdapterIndex, 0, &ga->lpFanSpeedValue);
 	}
+	ga->lpFanSpeedValue.iFanSpeed = iFanSpeed;
 	ret = ADL_Overdrive5_FanSpeed_Set(ga->iAdapterIndex, 0, &ga->lpFanSpeedValue);
 	ga->managed = true;
 out: