mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Icarus enable the read buffer for the detect nonce
This commit is contained in:
parent
37815e04bb
commit
cbf3a79d0d
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user