diff options
Diffstat (limited to 'firmware/usbstack/drivers/device/usb_storage.c')
-rw-r--r-- | firmware/usbstack/drivers/device/usb_storage.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
279 | { | 279 | { |
280 | int len; | 280 | int len; |
281 | 281 | ||
282 | (void)index; | 282 | (void)index; |
283 | 283 | ||
284 | len = usb_stack_configdesc(&storage_config_desc, buf, BUFFER_SIZE, dev.descriptors); | 284 | len = usb_stack_configdesc(&storage_config_desc, buf, BUFFER_SIZE, dev.descriptors); |
285 | logf("result %d", len); | 285 | logf("result %d", len); |
286 | if (len < 0) { | 286 | if (len < 0) { |
@@ -292,7 +292,7 @@ static int config_buf(uint8_t *buf, uint8_t type, unsigned index) | |||
292 | 292 | ||
293 | static int set_config(int config) | 293 | static int set_config(int config) |
294 | { | 294 | { |
295 | (void)config; | 295 | (void)config; |
296 | 296 | ||
297 | /* enable endpoints */ | 297 | /* enable endpoints */ |
298 | logf("setup %s", dev.in->name); | 298 | logf("setup %s", dev.in->name); |