Fork of https://developer.mbed.org/users/bscott/code/STM32_USBDevice/

Fork of STM32_USBDevice by Bradley Scott

Revision:
79:d28244984385
Parent:
76:eef92651f52f
--- a/USBDevice/USBHAL.h	Fri Oct 27 17:22:45 2017 +0200
+++ b/USBDevice/USBHAL.h	Wed Jul 25 14:04:48 2018 +0200
@@ -51,7 +51,7 @@
     /* Other endpoints */
     EP_STATUS endpointRead(uint8_t endpoint, uint32_t maximumSize);
     EP_STATUS endpointReadResult(uint8_t endpoint, uint8_t *data, uint32_t *bytesRead);
-    EP_STATUS endpointWrite(uint8_t endpoint, uint8_t *data, uint32_t size);
+    EP_STATUS endpointWrite(uint8_t endpoint, const uint8_t *data, uint32_t size);
     EP_STATUS endpointWriteResult(uint8_t endpoint);
     void stallEndpoint(uint8_t endpoint);
     void unstallEndpoint(uint8_t endpoint);