From cbf3a79d0d45a1944a46b3256ad235cb2a8a3f5f Mon Sep 17 00:00:00 2001 From: Kano Date: Sat, 22 Jun 2013 20:11:45 +1000 Subject: [PATCH] Icarus enable the read buffer for the detect nonce --- driver-icarus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver-icarus.c b/driver-icarus.c index 1a453213..d7c24aef 100644 --- a/driver-icarus.c +++ b/driver-icarus.c @@ -749,6 +749,8 @@ static bool icarus_detect_one(struct libusb_device *dev, struct usb_find_devices if (!usb_init(icarus, dev, found)) goto shin; + usb_buffer_enable(icarus); + get_options(this_option_offset, icarus, &baud, &work_division, &fpga_count); hex2bin(ob_bin, golden_ob, sizeof(ob_bin)); @@ -821,8 +823,6 @@ static bool icarus_detect_one(struct libusb_device *dev, struct usb_find_devices set_timing_mode(this_option_offset, icarus); - usb_buffer_enable(icarus); - return true; unshin: