summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2014-02-10 07:46:13 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2014-02-10 07:46:13 +0100
commitc1609b08892ec6878c6cc1ea20689145d23a51e6 (patch)
treeed595f0bc425031325e6821a0004007c6fc34cdb /firmware
parent75525422883c5e951d1e5fa27c08373b1737301f (diff)
downloadrockbox-c1609b08892ec6878c6cc1ea20689145d23a51e6.tar.gz
rockbox-c1609b08892ec6878c6cc1ea20689145d23a51e6.zip
Coding style fix for bde5394
Change-Id: I6e9ba6a2570915191cf5b66f58ed9ddb1959b6cc
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 }