From b0c996ba92713e06ff28e610e7bebab8a065b68e Mon Sep 17 00:00:00 2001 From: Peter D'Hoye Date: Mon, 17 Sep 2007 20:49:02 +0000 Subject: code police, no functional changes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14737 a1c6a512-1295-4272-9138-f99709370657 --- firmware/usbstack/core/config.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'firmware/usbstack/core/config.c') diff --git a/firmware/usbstack/core/config.c b/firmware/usbstack/core/config.c index c49d547..1a9b125 100644 --- a/firmware/usbstack/core/config.c +++ b/firmware/usbstack/core/config.c @@ -23,7 +23,8 @@ #include #include "usbstack/core.h" -static int usb_descriptor_fillbuf(void* buf, unsigned buflen, struct usb_descriptor_header** src) +static int usb_descriptor_fillbuf(void* buf, unsigned buflen, + struct usb_descriptor_header** src) { uint8_t* dest = buf; @@ -45,7 +46,8 @@ static int usb_descriptor_fillbuf(void* buf, unsigned buflen, struct usb_descrip return dest - (uint8_t *)buf; } -int usb_stack_configdesc(const struct usb_config_descriptor* config, void* buf, unsigned length, struct usb_descriptor_header** desc) +int usb_stack_configdesc(const struct usb_config_descriptor* config, void* buf, + unsigned length, struct usb_descriptor_header** desc) { struct usb_config_descriptor* cp = buf; int len; @@ -58,7 +60,8 @@ int usb_stack_configdesc(const struct usb_config_descriptor* config, void* buf, *cp = *config; /* then interface/endpoint/class/vendor/... */ - len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (uint8_t*)buf, length - USB_DT_CONFIG_SIZE, desc); + len = usb_descriptor_fillbuf(USB_DT_CONFIG_SIZE + (uint8_t*)buf, + length - USB_DT_CONFIG_SIZE, desc); if (len < 0) { return len; -- cgit v1.1