This fork re-enables FRDM boards and adds WebUSB CDC functionality
Fork of USBDevice_STM32F103 by
Diff: USBDevice/USBHAL_STM32L1.cpp
- Revision:
- 64:c3d0530b6d82
- Parent:
- 63:05e2f2e4dc3e
--- 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;