Devan Lai / USBDevice_STM32F103

Dependents:   STM32F103C8T6_WebUSBDFU STM32F103C8T6_USBDFU STM32F103C8T6_USBDFU dfu_usb_stm32f103

Fork of USBDevice_STM32F103 by Zoltan Hudak

Files at this revision

API Documentation at this revision

Comitter:
va009039
Date:
Thu Jun 25 09:33:51 2015 +0900
Parent:
63:05e2f2e4dc3e
Child:
65:48fe9050cb4a
Commit message:
do not check isochronous packet size.

Changed in this revision

USBDevice/USBHAL_STM32L1.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/USBDevice/USBHAL_STM32L1.cpp	Mon Jun 22 09:42:03 2015 +0900
+++ b/USBDevice/USBHAL_STM32L1.cpp	Thu Jun 25 09:33:51 2015 +0900
@@ -258,7 +258,6 @@
         return EP_PENDING;
     }
     int len = HAL_PCD_EP_GetRxCount(&hpcd_USB_FS, endpoint>>1);
-    MBED_ASSERT(len <= 64);
     memcpy(buffer, rxtmp.ptr(endpoint), len);
     *bytesRead = len;
     return EP_COMPLETED;