mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-11 07:17:58 +00:00
Remove zero packet flag on usb as it's unsupported outside linux and unnecessary.
This commit is contained in:
parent
382433eb73
commit
c5d61b4cb3
@ -2212,7 +2212,6 @@ static void init_usb_transfer(struct usb_transfer *ut)
|
||||
ut->transfer = libusb_alloc_transfer(0);
|
||||
if (unlikely(!ut->transfer))
|
||||
quit(1, "Failed to libusb_alloc_transfer");
|
||||
ut->transfer->flags = LIBUSB_TRANSFER_ADD_ZERO_PACKET;
|
||||
ut->transfer->user_data = ut;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user