Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of L152RE_USBDevice by
Diff: USBDevice/USBHAL_STM32L1.cpp
- Revision:
- 64:c3d0530b6d82
- Parent:
- 63:05e2f2e4dc3e
- Child:
- 65:0ba7c5e2b3dc
diff -r 05e2f2e4dc3e -r c3d0530b6d82 USBDevice/USBHAL_STM32L1.cpp
--- 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;
