summaryrefslogtreecommitdiffstats
path: root/firmware/usbstack/usb_serial.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2009-08-19 05:30:40 +0000
committerFrank Gevaerts <frank@gevaerts.be>2009-08-19 05:30:40 +0000
commit1eeab430a1244d6dbb5d00d0e07da10361bb3903 (patch)
tree02df524d75af0324d03a54829c47856c0a3ce1b3 /firmware/usbstack/usb_serial.c
parentafd8c2dfd172e34096c5cb91d3defcf394309fb5 (diff)
downloadrockbox-1eeab430a1244d6dbb5d00d0e07da10361bb3903.tar.gz
rockbox-1eeab430a1244d6dbb5d00d0e07da10361bb3903.tar.bz2
rockbox-1eeab430a1244d6dbb5d00d0e07da10361bb3903.zip
Add const to usb_serial_send() buffer.
Flyspray: FS#10519 Author: Amaury Pouly git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22422 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usbstack/usb_serial.c')
-rw-r--r--firmware/usbstack/usb_serial.c2
1 files changed, 1 insertions, 1 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)
}
}
-void usb_serial_send(unsigned char *data,int length)
+void usb_serial_send(const unsigned char *data,int length)
{
int freestart, available_end_space, i;