summaryrefslogtreecommitdiffstats
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
parent75525422883c5e951d1e5fa27c08373b1737301f (diff)
downloadrockbox-c1609b08892ec6878c6cc1ea20689145d23a51e6.tar.gz
rockbox-c1609b08892ec6878c6cc1ea20689145d23a51e6.zip
Coding style fix for bde5394
Change-Id: I6e9ba6a2570915191cf5b66f58ed9ddb1959b6cc
-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)
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;
}