summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/usbstack/usb_serial.c2
-rw-r--r--firmware/usbstack/usb_serial.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usbstack/usb_serial.c b/firmware/usbstack/usb_serial.c
index 99b8bb2c3f..d36151afd1 100644
--- a/firmware/usbstack/usb_serial.c
+++ b/firmware/usbstack/usb_serial.c
@@ -169,7 +169,7 @@ static void sendout(void)
169 } 169 }
170} 170}
171 171
172void usb_serial_send(unsigned char *data,int length) 172void usb_serial_send(const unsigned char *data,int length)
173{ 173{
174 int freestart, available_end_space, i; 174 int freestart, available_end_space, i;
175 175
diff --git a/firmware/usbstack/usb_serial.h b/firmware/usbstack/usb_serial.h
index 2701a96cd3..f1a603c4a3 100644
--- a/firmware/usbstack/usb_serial.h
+++ b/firmware/usbstack/usb_serial.h
@@ -32,7 +32,7 @@ void usb_serial_disconnect(void);
32void usb_serial_transfer_complete(int ep,int dir, int status, int length); 32void usb_serial_transfer_complete(int ep,int dir, int status, int length);
33bool usb_serial_control_request(struct usb_ctrlrequest* req, unsigned char *dest); 33bool usb_serial_control_request(struct usb_ctrlrequest* req, unsigned char *dest);
34 34
35void usb_serial_send(unsigned char *data,int length); 35void usb_serial_send(const unsigned char *data, int length);
36 36
37#endif 37#endif
38 38