mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Give AMU a much longer timeout on windows than other icarus devices.
This commit is contained in:
parent
609ca9292a
commit
251e1a98cc
@ -67,6 +67,7 @@
|
|||||||
#define AVALON_TIMEOUT_MS 999
|
#define AVALON_TIMEOUT_MS 999
|
||||||
#define KLONDIKE_TIMEOUT_MS 999
|
#define KLONDIKE_TIMEOUT_MS 999
|
||||||
#define ICARUS_TIMEOUT_MS 999
|
#define ICARUS_TIMEOUT_MS 999
|
||||||
|
#define AMU_TIMEOUT_MS 1999
|
||||||
#define HASHFAST_TIMEOUT_MS 999
|
#define HASHFAST_TIMEOUT_MS 999
|
||||||
#else
|
#else
|
||||||
#define BFLSC_TIMEOUT_MS 300
|
#define BFLSC_TIMEOUT_MS 300
|
||||||
@ -76,6 +77,7 @@
|
|||||||
#define AVALON_TIMEOUT_MS 200
|
#define AVALON_TIMEOUT_MS 200
|
||||||
#define KLONDIKE_TIMEOUT_MS 200
|
#define KLONDIKE_TIMEOUT_MS 200
|
||||||
#define ICARUS_TIMEOUT_MS 200
|
#define ICARUS_TIMEOUT_MS 200
|
||||||
|
#define AMU_TIMEOUT_MS 200
|
||||||
#define HASHFAST_TIMEOUT_MS 200
|
#define HASHFAST_TIMEOUT_MS 200
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -402,7 +404,7 @@ static struct usb_find_devices find_dev[] = {
|
|||||||
.idVendor = 0x10c4,
|
.idVendor = 0x10c4,
|
||||||
.idProduct = 0xea60,
|
.idProduct = 0xea60,
|
||||||
.config = 1,
|
.config = 1,
|
||||||
.timeout = ICARUS_TIMEOUT_MS,
|
.timeout = AMU_TIMEOUT_MS,
|
||||||
.latency = LATENCY_UNUSED,
|
.latency = LATENCY_UNUSED,
|
||||||
INTINFO(amu_ints) },
|
INTINFO(amu_ints) },
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user