mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-02 17:22:33 +00:00
Increase maximum intensity configurable to 14.
This commit is contained in:
parent
dfc52fd543
commit
e016d0c8f3
@ -192,7 +192,7 @@ static struct option_help options_help[] = {
|
|||||||
"(-g N) Number of threads per-GPU (0 - 10, default: 2)" },
|
"(-g N) Number of threads per-GPU (0 - 10, default: 2)" },
|
||||||
|
|
||||||
{ "intensity",
|
{ "intensity",
|
||||||
"(-I) Intensity of scanning (0 - 10, default 4)" },
|
"(-I) Intensity of scanning (0 - 14, default 4)" },
|
||||||
|
|
||||||
{ "log",
|
{ "log",
|
||||||
"(-l) Interval in seconds between log output (default: 5)" },
|
"(-l) Interval in seconds between log output (default: 5)" },
|
||||||
@ -1140,7 +1140,7 @@ static void parse_arg (int key, char *arg)
|
|||||||
break;
|
break;
|
||||||
case 'I':
|
case 'I':
|
||||||
v = atoi(arg);
|
v = atoi(arg);
|
||||||
if (v < 0 || v > 16) /* sanity check */
|
if (v < 0 || v > 14) /* sanity check */
|
||||||
show_usage();
|
show_usage();
|
||||||
scan_intensity = v;
|
scan_intensity = v;
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user