forked from len0rd/rockbox
fix usb string descriptors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16372 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9dbe7f2a8c
commit
f5c1262f75
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue