diff options
Diffstat (limited to 'firmware/usbstack/usb_core.c')
-rw-r--r-- | firmware/usbstack/usb_core.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/firmware/usbstack/usb_core.c b/firmware/usbstack/usb_core.c index dc69628c13..038aef241f 100644 --- a/firmware/usbstack/usb_core.c +++ b/firmware/usbstack/usb_core.c @@ -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; } |