1
0
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:
Con Kolivas 2013-11-05 08:20:04 +11:00
parent 609ca9292a
commit 251e1a98cc

View File

@ -67,6 +67,7 @@
#define AVALON_TIMEOUT_MS 999
#define KLONDIKE_TIMEOUT_MS 999
#define ICARUS_TIMEOUT_MS 999
#define AMU_TIMEOUT_MS 1999
#define HASHFAST_TIMEOUT_MS 999
#else
#define BFLSC_TIMEOUT_MS 300
@ -76,6 +77,7 @@
#define AVALON_TIMEOUT_MS 200
#define KLONDIKE_TIMEOUT_MS 200
#define ICARUS_TIMEOUT_MS 200
#define AMU_TIMEOUT_MS 200
#define HASHFAST_TIMEOUT_MS 200
#endif
@ -402,7 +404,7 @@ static struct usb_find_devices find_dev[] = {
.idVendor = 0x10c4,
.idProduct = 0xea60,
.config = 1,
.timeout = ICARUS_TIMEOUT_MS,
.timeout = AMU_TIMEOUT_MS,
.latency = LATENCY_UNUSED,
INTINFO(amu_ints) },
{