Commit 211b0f4ea15dcd88012232cb31e537cc8b61f490

Kano 2013-01-02T21:18:08

BFL USB longer timeout

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/usbutils.c b/usbutils.c
index 4b12617..0d9e79a 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -36,10 +36,10 @@
 #define EPO(x) (LIBUSB_ENDPOINT_OUT | (unsigned char)(x))
 
 #ifdef WIN32
-#define BITFORCE_TIMEOUT_MS 200
+#define BITFORCE_TIMEOUT_MS 500
 #define MODMINER_TIMEOUT_MS 200
 #else
-#define BITFORCE_TIMEOUT_MS 100
+#define BITFORCE_TIMEOUT_MS 200
 #define MODMINER_TIMEOUT_MS 100
 #endif