Fork of https://developer.mbed.org/users/bscott/code/STM32_USBDevice/
Fork of STM32_USBDevice by
Diff: USBDevice/USBHAL_STM32L1.cpp
- Revision:
- 64:c3d0530b6d82
- Parent:
- 63:05e2f2e4dc3e
- Child:
- 65:0ba7c5e2b3dc
--- 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;