1
0
Fork 0
forked from len0rd/rockbox

Coding style fix for bde5394

Change-Id: I6e9ba6a2570915191cf5b66f58ed9ddb1959b6cc
This commit is contained in:
Marcin Bukat 2014-02-10 07:46:13 +01:00
parent 7552542288
commit c1609b0889

View file

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