1
0
Fork 0
forked from len0rd/rockbox

code police part two (/me blames his editor)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14500 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Peter D'Hoye 2007-08-29 00:47:04 +00:00
parent 5f59f94554
commit 52a60df47e
2 changed files with 4 additions and 4 deletions

View file

@ -296,7 +296,7 @@ static int config_buf(uint8_t *buf, uint8_t type, unsigned index)
int len; int len;
/* TODO check index*/ /* TODO check index*/
(void)index; (void)index;
len = usb_stack_configdesc(&serial_bulk_config_desc, buf, BUFFER_SIZE, dev.descriptors); len = usb_stack_configdesc(&serial_bulk_config_desc, buf, BUFFER_SIZE, dev.descriptors);
if (len < 0) { if (len < 0) {

View file

@ -279,8 +279,8 @@ static int config_buf(uint8_t *buf, uint8_t type, unsigned index)
{ {
int len; int len;
(void)index; (void)index;
len = usb_stack_configdesc(&storage_config_desc, buf, BUFFER_SIZE, dev.descriptors); len = usb_stack_configdesc(&storage_config_desc, buf, BUFFER_SIZE, dev.descriptors);
logf("result %d", len); logf("result %d", len);
if (len < 0) { 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) static int set_config(int config)
{ {
(void)config; (void)config;
/* enable endpoints */ /* enable endpoints */
logf("setup %s", dev.in->name); logf("setup %s", dev.in->name);