Commit 1c60a6dfe681e91a8a1c0daa520209c481b82d9f

Con Kolivas 2014-02-22T10:52:09

Revert "Restarts can rarely take a while on hashfast so increase the timeout to 1 second to avoid the usb flood failure." This reverts commit c8648adaa8c5d726412c59f49131762d3fce13ec.

diff --git a/usbutils.c b/usbutils.c
index 4a0052c..0a5e088 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -59,7 +59,6 @@ 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
@@ -68,6 +67,7 @@ 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,6 +80,7 @@ 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) { \