summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/usbstack/usb_core.c7
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)
644 ptr = usb_strings[index]; 644 ptr = usb_strings[index];
645 } 645 }
646 else if(index == 0xee) { 646 else if(index == 0xee) {
647 // We don't have a real OS descriptor, and we don't handle 647 /* We don't have a real OS descriptor, and we don't handle
648 // STALL correctly on some devices, so we return any valid 648 * STALL correctly on some devices, so we return any valid
649 // string (we arbitrarily pick the manufacturer name) 649 * string (we arbitrarily pick the manufacturer name)
650 */
650 size = usb_string_iManufacturer.bLength; 651 size = usb_string_iManufacturer.bLength;
651 ptr = &usb_string_iManufacturer; 652 ptr = &usb_string_iManufacturer;
652 } 653 }