mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 15:27:53 +00:00
Enable the usb buffer in avalon driver.
This commit is contained in:
parent
efd8c44182
commit
39ec9518d5
@ -720,6 +720,7 @@ static bool avalon_detect_one(libusb_device *dev, struct usb_find_devices *found
|
|||||||
* all ourselves so set it to std usb type */
|
* all ourselves so set it to std usb type */
|
||||||
avalon->usbdev->usb_type = USB_TYPE_STD;
|
avalon->usbdev->usb_type = USB_TYPE_STD;
|
||||||
usb_set_pps(avalon, AVALON_USB_PACKETSIZE);
|
usb_set_pps(avalon, AVALON_USB_PACKETSIZE);
|
||||||
|
usb_buffer_enable(avalon);
|
||||||
|
|
||||||
/* We have a real Avalon! */
|
/* We have a real Avalon! */
|
||||||
avalon_initialise(avalon);
|
avalon_initialise(avalon);
|
||||||
|
Loading…
Reference in New Issue
Block a user