Browse Source

Explicitly disable dynamic mode when an intensity is set.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
35a490b90c
  1. 1
      main.c

1
main.c

@ -1390,6 +1390,7 @@ static char *set_intensity(char *arg) @@ -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";

Loading…
Cancel
Save