mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-07 19:52:34 +00:00
Allow intensity up to 14 for multiple devices as well.
This commit is contained in:
parent
d662c9c626
commit
a992b5d89d
2
main.c
2
main.c
@ -1466,7 +1466,7 @@ static char *set_intensity(char *arg)
|
|||||||
else {
|
else {
|
||||||
gpus[device].dynamic = false;
|
gpus[device].dynamic = false;
|
||||||
val = atoi(nextptr);
|
val = atoi(nextptr);
|
||||||
if (val < -10 || val > 10)
|
if (val < -10 || val > 14)
|
||||||
return "Invalid value passed to set intensity";
|
return "Invalid value passed to set intensity";
|
||||||
|
|
||||||
tt = &gpus[device].intensity;
|
tt = &gpus[device].intensity;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user