Commit 35a490b90cf959429f6410643844f4e76ddda0c4

Con Kolivas 2011-09-27T14:25:02

Explicitly disable dynamic mode when an intensity is set.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/main.c b/main.c
index cf9628a..41f9571 100644
--- a/main.c
+++ b/main.c
@@ -1390,6 +1390,7 @@ static char *set_intensity(char *arg)
 	if (!strncasecmp(nextptr, "d", 1))
 		gpus[device].dynamic = true;
 	else {
+		gpus[device].dynamic = false;
 		val = atoi(nextptr);
 		if (val < -10 || val > 10)
 			return "Invalid value passed to set intensity";