From ea807cf0c7ee5c8bd9b315f395847d0176d741fc Mon Sep 17 00:00:00 2001 From: Kano Date: Mon, 14 Jan 2013 11:44:31 +1100 Subject: [PATCH] USB BFL transfer is only 64 bytes in a USB1.1 socket --- usbutils.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usbutils.c b/usbutils.c index 273d8528..d9427067 100644 --- a/usbutils.c +++ b/usbutils.c @@ -48,14 +48,10 @@ #endif #ifdef USE_BITFORCE +// N.B. transfer size is 512 with USB2.0, but only 64 with USB1.1 static struct usb_endpoints bfl_eps[] = { -#ifdef WIN32 { LIBUSB_TRANSFER_TYPE_BULK, 64, EPI(1), 0 }, { LIBUSB_TRANSFER_TYPE_BULK, 64, EPO(2), 0 } -#else - { LIBUSB_TRANSFER_TYPE_BULK, 512, EPI(1), 0 }, - { LIBUSB_TRANSFER_TYPE_BULK, 512, EPO(2), 0 } -#endif }; #endif