Coding style fix for bde5394
Change-Id: I6e9ba6a2570915191cf5b66f58ed9ddb1959b6cc
This commit is contained in:
parent
7552542288
commit
c1609b0889
|
@ -644,9 +644,10 @@ static void request_handler_device_get_descriptor(struct usb_ctrlrequest* req)
|
|||
ptr = usb_strings[index];
|
||||
}
|
||||
else if(index == 0xee) {
|
||||
// We don't have a real OS descriptor, and we don't handle
|
||||
// STALL correctly on some devices, so we return any valid
|
||||
// string (we arbitrarily pick the manufacturer name)
|
||||
/* We don't have a real OS descriptor, and we don't handle
|
||||
* STALL correctly on some devices, so we return any valid
|
||||
* string (we arbitrarily pick the manufacturer name)
|
||||
*/
|
||||
size = usb_string_iManufacturer.bLength;
|
||||
ptr = &usb_string_iManufacturer;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue