forked from len0rd/rockbox
typo fixes (; instead of , at the end of two assignments) (same as r17398 for usb_serial. lesson learned : always check if there are similar bugs elsewhere)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17400 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b9fe84abea
commit
bc1ce741c9
1 changed files with 2 additions and 2 deletions
|
@ -347,12 +347,12 @@ int usb_storage_get_config_descriptor(unsigned char *dest,int max_packet_size)
|
|||
sizeof(struct usb_interface_descriptor));
|
||||
dest+=sizeof(struct usb_interface_descriptor);
|
||||
|
||||
endpoint_descriptor.bEndpointAddress = usb_endpoint | USB_DIR_IN,
|
||||
endpoint_descriptor.bEndpointAddress = usb_endpoint | USB_DIR_IN;
|
||||
memcpy(dest,&endpoint_descriptor,
|
||||
sizeof(struct usb_endpoint_descriptor));
|
||||
dest+=sizeof(struct usb_endpoint_descriptor);
|
||||
|
||||
endpoint_descriptor.bEndpointAddress = usb_endpoint | USB_DIR_OUT,
|
||||
endpoint_descriptor.bEndpointAddress = usb_endpoint | USB_DIR_OUT;
|
||||
memcpy(dest,&endpoint_descriptor,
|
||||
sizeof(struct usb_endpoint_descriptor));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue