mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Don't try to start devices that don't support scrypt when scrypt mining.
This commit is contained in:
parent
80d57728fd
commit
8fa708093b
12
cgminer.c
12
cgminer.c
@ -5448,19 +5448,23 @@ int main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_ICARUS
|
#ifdef USE_ICARUS
|
||||||
icarus_api.api_detect();
|
if (!opt_scrypt)
|
||||||
|
icarus_api.api_detect();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_BITFORCE
|
#ifdef USE_BITFORCE
|
||||||
bitforce_api.api_detect();
|
if (!opt_scrypt)
|
||||||
|
bitforce_api.api_detect();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_MODMINER
|
#ifdef USE_MODMINER
|
||||||
modminer_api.api_detect();
|
if (!opt_scrypt)
|
||||||
|
modminer_api.api_detect();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef USE_ZTEX
|
#ifdef USE_ZTEX
|
||||||
ztex_api.api_detect();
|
if (!opt_scrypt)
|
||||||
|
ztex_api.api_detect();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WANT_CPUMINE
|
#ifdef WANT_CPUMINE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user