Browse Source

MMQ turn on cps delays

nfactor-troky
Kano 12 years ago
parent
commit
c8a647edeb
  1. 3
      driver-modminer.c

3
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)) if (!usb_init(modminer, dev, found))
goto shin; goto shin;
usb_set_cps(modminer, 11520);
usb_enable_cps(modminer);
do_ping(modminer); do_ping(modminer);
if ((err = usb_write(modminer, MODMINER_GET_VERSION, 1, &amount, C_REQUESTVERSION)) < 0 || amount != 1) { if ((err = usb_write(modminer, MODMINER_GET_VERSION, 1, &amount, C_REQUESTVERSION)) < 0 || amount != 1) {

Loading…
Cancel
Save