Fork of https://developer.mbed.org/users/bscott/code/STM32_USBDevice/
Fork of STM32_USBDevice by
Diff: USBDevice/USBHAL_LPC11U.cpp
- Branch:
- feature_WebUSB
- Revision:
- 76:eef92651f52f
- Parent:
- 30:4408411999c8
--- a/USBDevice/USBHAL_LPC11U.cpp Fri Oct 27 17:22:45 2017 +0200 +++ b/USBDevice/USBHAL_LPC11U.cpp Thu Jul 19 12:57:27 2018 +0200 @@ -386,7 +386,7 @@ LPC_USB->DEVCMDSTAT = devCmdStat; } -EP_STATUS USBHAL::endpointWrite(uint8_t endpoint, uint8_t *data, uint32_t size) { +EP_STATUS USBHAL::endpointWrite(uint8_t endpoint, const uint8_t *data, uint32_t size) { uint32_t flags = 0; uint32_t bf;