Browse Source

Increase maximum intensity configurable to 14.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
e016d0c8f3
  1. 4
      cpu-miner.c

4
cpu-miner.c

@ -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…
Cancel
Save