Commit 251e1a98cc703825247eebdbd3145a1ffdafa3ae

Con Kolivas 2013-11-05T08:20:04

Give AMU a much longer timeout on windows than other icarus devices.

diff --git a/usbutils.c b/usbutils.c
index 320db88..cf05072 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -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) },
 	{