Fork of https://developer.mbed.org/users/bscott/code/STM32_USBDevice/
Fork of STM32_USBDevice by
Diff: USBDevice/USBHAL_LPC17.cpp
- Revision:
- 79:d28244984385
- Parent:
- 76:eef92651f52f
diff -r 43bf95761b38 -r d28244984385 USBDevice/USBHAL_LPC17.cpp --- a/USBDevice/USBHAL_LPC17.cpp Fri Oct 27 17:22:45 2017 +0200 +++ b/USBDevice/USBHAL_LPC17.cpp Wed Jul 25 14:04:48 2018 +0200 @@ -472,7 +472,7 @@ return EP_COMPLETED; } -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) { if (getEndpointStallState(endpoint)) { return EP_STALLED; }