Commit c8a647edeba8593300038559a042d36e855679f6

Kano 2013-06-27T00:41:10

MMQ turn on cps delays

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/driver-modminer.c b/driver-modminer.c
index 4baeeff..50488e8 100644
--- a/driver-modminer.c
+++ b/driver-modminer.c
@@ -128,6 +128,9 @@ static bool modminer_detect_one(struct libusb_device *dev, struct usb_find_devic
 	if (!usb_init(modminer, dev, found))
 		goto shin;
 
+	usb_set_cps(modminer, 11520);
+	usb_enable_cps(modminer);
+
 	do_ping(modminer);
 
 	if ((err = usb_write(modminer, MODMINER_GET_VERSION, 1, &amount, C_REQUESTVERSION)) < 0 || amount != 1) {