summaryrefslogtreecommitdiff
path: root/firmware/usbstack
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-02-22 22:25:00 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-02-22 22:25:00 +0000
commitf5c1262f757534c42c699251a8c3ae22575b14da (patch)
treefa947dc01db4859387d2cd881a7215ee02b75a52 /firmware/usbstack
parent9dbe7f2a8caaf7fb07f7b1d010562760bd62d185 (diff)
fix usb string descriptors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16372 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usbstack')
-rw-r--r--firmware/usbstack/usb_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c
index caada6c798..8a602894d0 100644
--- a/firmware/usbstack/usb_core.c
+++ b/firmware/usbstack/usb_core.c
@@ -651,7 +651,7 @@ static void usb_core_control_request_handler(struct usb_ctrlrequest* req)
logf("STRING %d",index);
if ((unsigned)index < (sizeof(usb_strings)/sizeof(struct usb_string_descriptor*))) {
size = usb_strings[index]->bLength;
- memcpy(&response_data[0],&usb_strings[index],size);
+ memcpy(&response_data[0],usb_strings[index],size);
ptr = response_data;
}
else {