Commit b6831453b421c3c74d0867f42e319b293b3ed3ed

Con Kolivas 2013-10-16T20:34:51

Make the USB polling thread poll every second to potentially aid longer timeout transfers.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 872dffe..c2a9133 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -7795,7 +7795,7 @@ static void probe_pools(void)
 #ifdef USE_USBUTILS
 static void *libusb_poll_thread(void __maybe_unused *arg)
 {
-	struct timeval tv_end = {0, 200000};
+	struct timeval tv_end = {1, 0};
 
 	RenameThread("usbpoll");