There is no point setting the BF1 preferred packet size to the maximum since it will do so automatically.
diff --git a/usbutils.c b/usbutils.c
index 4bd7117..0a42c71 100644
--- a/usbutils.c
+++ b/usbutils.c
@@ -132,12 +132,12 @@ static struct usb_intinfo bfl_ints[] = {
#ifdef USE_BITFURY
static struct usb_epinfo bfu0_epinfos[] = {
- { LIBUSB_TRANSFER_TYPE_INTERRUPT, 8, EPI(2), 0, 8, 0 }
+ { LIBUSB_TRANSFER_TYPE_INTERRUPT, 8, EPI(2), 0, 0, 0 }
};
static struct usb_epinfo bfu1_epinfos[] = {
- { LIBUSB_TRANSFER_TYPE_BULK, 16, EPI(3), 0, 16, 0 },
- { LIBUSB_TRANSFER_TYPE_BULK, 16, EPO(4), 0, 16, 0 }
+ { LIBUSB_TRANSFER_TYPE_BULK, 16, EPI(3), 0, 0, 0 },
+ { LIBUSB_TRANSFER_TYPE_BULK, 16, EPO(4), 0, 0, 0 }
};
/* Default to interface 1 */