1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-10 04:31:03 +00:00

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

This commit is contained in:
Con Kolivas 2011-09-27 14:25:49 +10:00
parent 35a490b90c
commit 1dc6e64b68

1
main.c
View File

@ -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";