mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-13 14:42:05 +00:00
Set dynamic to false for all devices given separate args...
This commit is contained in:
parent
35a490b90c
commit
1dc6e64b68
1
main.c
1
main.c
@ -1404,6 +1404,7 @@ static char *set_intensity(char *arg)
|
|||||||
if (!strncasecmp(nextptr, "d", 1))
|
if (!strncasecmp(nextptr, "d", 1))
|
||||||
gpus[device].dynamic = true;
|
gpus[device].dynamic = true;
|
||||||
else {
|
else {
|
||||||
|
gpus[device].dynamic = false;
|
||||||
val = atoi(nextptr);
|
val = atoi(nextptr);
|
||||||
if (val < -10 || val > 10)
|
if (val < -10 || val > 10)
|
||||||
return "Invalid value passed to set intensity";
|
return "Invalid value passed to set intensity";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user