mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
Coding style fix for bde5394
Change-Id: I6e9ba6a2570915191cf5b66f58ed9ddb1959b6cc
This commit is contained in:
parent
7552542288
commit
c1609b0889
1 changed files with 4 additions and 3 deletions
|
@ -644,9 +644,10 @@ static void request_handler_device_get_descriptor(struct usb_ctrlrequest* req)
|
||||||
ptr = usb_strings[index];
|
ptr = usb_strings[index];
|
||||||
}
|
}
|
||||||
else if(index == 0xee) {
|
else if(index == 0xee) {
|
||||||
// We don't have a real OS descriptor, and we don't handle
|
/* We don't have a real OS descriptor, and we don't handle
|
||||||
// STALL correctly on some devices, so we return any valid
|
* STALL correctly on some devices, so we return any valid
|
||||||
// string (we arbitrarily pick the manufacturer name)
|
* string (we arbitrarily pick the manufacturer name)
|
||||||
|
*/
|
||||||
size = usb_string_iManufacturer.bLength;
|
size = usb_string_iManufacturer.bLength;
|
||||||
ptr = &usb_string_iManufacturer;
|
ptr = &usb_string_iManufacturer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue