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
This commit is contained in:
Frank Gevaerts 2009-08-19 05:30:40 +00:00
parent afd8c2dfd1
commit 1eeab430a1
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -32,7 +32,7 @@ void usb_serial_disconnect(void);
void usb_serial_transfer_complete(int ep,int dir, int status, int length);
bool usb_serial_control_request(struct usb_ctrlrequest* req, unsigned char *dest);
void usb_serial_send(unsigned char *data,int length);
void usb_serial_send(const unsigned char *data, int length);
#endif