diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-29 00:47:04 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-29 00:47:04 +0000 |
commit | 52a60df47e8d1584f2694872c97eff6898ec5a94 (patch) | |
tree | 71dfa703828b7aaccf586ed7cd2fc5429f2aef93 | |
parent | 5f59f9455443dbdce606ee091c10c99eab87c5b0 (diff) |
code police part two (/me blames his editor)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14500 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/usbstack/drivers/device/usb_serial.c | 2 | ||||
-rw-r--r-- | firmware/usbstack/drivers/device/usb_storage.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/usbstack/drivers/device/usb_serial.c b/firmware/usbstack/drivers/device/usb_serial.c index 0738b9cc36..9f1778a3f2 100644 --- a/firmware/usbstack/drivers/device/usb_serial.c +++ b/firmware/usbstack/drivers/device/usb_serial.c @@ -296,7 +296,7 @@ static int config_buf(uint8_t *buf, uint8_t type, unsigned index) int len; /* TODO check index*/ - (void)index; + (void)index; len = usb_stack_configdesc(&serial_bulk_config_desc, buf, BUFFER_SIZE, dev.descriptors); if (len < 0) { diff --git a/firmware/usbstack/drivers/device/usb_storage.c b/firmware/usbstack/drivers/device/usb_storage.c index cbb974cab7..30f376b1cc 100644 --- a/firmware/usbstack/drivers/device/usb_storage.c +++ b/firmware/usbstack/drivers/device/usb_storage.c @@ -279,8 +279,8 @@ static int config_buf(uint8_t *buf, uint8_t type, unsigned index) { int len; - (void)index; - + (void)index; + len = usb_stack_configdesc(&storage_config_desc, buf, BUFFER_SIZE, dev.descriptors); logf("result %d", len); if (len < 0) { @@ -292,7 +292,7 @@ static int config_buf(uint8_t *buf, uint8_t type, unsigned index) static int set_config(int config) { - (void)config; + (void)config; /* enable endpoints */ logf("setup %s", dev.in->name); |