Browse Source

Set preferred packet sizes per interface on BF1.

nfactor-troky
Con Kolivas 11 years ago
parent
commit
2fc5c1d0ec
  1. 6
      usbutils.c

6
usbutils.c

@ -132,12 +132,12 @@ static struct usb_intinfo bfl_ints[] = {
#ifdef USE_BITFURY #ifdef USE_BITFURY
static struct usb_epinfo bfu0_epinfos[] = { static struct usb_epinfo bfu0_epinfos[] = {
{ LIBUSB_TRANSFER_TYPE_INTERRUPT, 8, EPI(2), 0 } { LIBUSB_TRANSFER_TYPE_INTERRUPT, 8, EPI(2), 0, 8, 0 }
}; };
static struct usb_epinfo bfu1_epinfos[] = { static struct usb_epinfo bfu1_epinfos[] = {
{ LIBUSB_TRANSFER_TYPE_BULK, 16, EPI(3), 0 }, { LIBUSB_TRANSFER_TYPE_BULK, 16, EPI(3), 0, 16, 0 },
{ LIBUSB_TRANSFER_TYPE_BULK, 16, EPO(4), 0 } { LIBUSB_TRANSFER_TYPE_BULK, 16, EPO(4), 0, 16, 0 }
}; };
static struct usb_intinfo bfu_ints[] = { static struct usb_intinfo bfu_ints[] = {

Loading…
Cancel
Save