Commit 1dc6e64b680d2b0ad6464a355bac47c474d19dee

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

Set dynamic to false for all devices given separate args...

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/main.c b/main.c
index 41f9571..8acc172 100644
--- a/main.c
+++ b/main.c
@@ -1404,6 +1404,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";