Browse Source

Don't try to start devices that don't support scrypt when scrypt mining.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
8fa708093b
  1. 4
      cgminer.c

4
cgminer.c

@ -5448,18 +5448,22 @@ int main(int argc, char *argv[])
#endif #endif
#ifdef USE_ICARUS #ifdef USE_ICARUS
if (!opt_scrypt)
icarus_api.api_detect(); icarus_api.api_detect();
#endif #endif
#ifdef USE_BITFORCE #ifdef USE_BITFORCE
if (!opt_scrypt)
bitforce_api.api_detect(); bitforce_api.api_detect();
#endif #endif
#ifdef USE_MODMINER #ifdef USE_MODMINER
if (!opt_scrypt)
modminer_api.api_detect(); modminer_api.api_detect();
#endif #endif
#ifdef USE_ZTEX #ifdef USE_ZTEX
if (!opt_scrypt)
ztex_api.api_detect(); ztex_api.api_detect();
#endif #endif

Loading…
Cancel
Save