Commit c8648adaa8c5d726412c59f49131762d3fce13ec

Con Kolivas 2014-02-21T14:56:34

Restarts can rarely take a while on hashfast so increase the timeout to 1 second to avoid the usb flood failure.

diff --git a/usbutils.c b/usbutils.c
index 0a5e088..4a0052c 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -59,6 +59,7 @@ static cgtimer_t usb11_cgt;
 #define BITFURY_TIMEOUT_MS 999
 #define DRILLBIT_TIMEOUT_MS 999
 #define ICARUS_TIMEOUT_MS 999
+#define HASHFAST_TIMEOUT_MS 999
 
 #ifdef WIN32
 #define BFLSC_TIMEOUT_MS 999
@@ -67,7 +68,6 @@ static cgtimer_t usb11_cgt;
 #define AVALON_TIMEOUT_MS 999
 #define KLONDIKE_TIMEOUT_MS 999
 #define COINTERRA_TIMEOUT_MS 999
-#define HASHFAST_TIMEOUT_MS 999
 
 /* The safety timeout we use, cancelling async transfers on windows that fail
  * to timeout on their own. */
@@ -80,7 +80,6 @@ static cgtimer_t usb11_cgt;
 #define AVALON_TIMEOUT_MS 200
 #define KLONDIKE_TIMEOUT_MS 200
 #define COINTERRA_TIMEOUT_MS 200
-#define HASHFAST_TIMEOUT_MS 500
 #endif
 
 #define USB_EPS(_intx, _epinfosx) { \