Skip to content

Commit

Permalink
MMQ turn on cps delays
Browse files Browse the repository at this point in the history
  • Loading branch information
kanoi committed Jun 26, 2013
1 parent e8bbb49 commit c8a647e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions driver-modminer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c8a647e

Please sign in to comment.