diff options
Diffstat (limited to 'firmware/usbstack/usb_storage.c')
-rw-r--r-- | firmware/usbstack/usb_storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c index 2a3808dd92..be785da321 100644 --- a/firmware/usbstack/usb_storage.c +++ b/firmware/usbstack/usb_storage.c | |||
@@ -593,11 +593,11 @@ void usb_storage_transfer_complete(int ep,int dir,int status,int length) | |||
593 | } | 593 | } |
594 | 594 | ||
595 | /* called by usb_core_control_request() */ | 595 | /* called by usb_core_control_request() */ |
596 | bool usb_storage_control_request(struct usb_ctrlrequest* req) | 596 | bool usb_storage_control_request(struct usb_ctrlrequest* req, unsigned char* dest) |
597 | { | 597 | { |
598 | bool handled = false; | 598 | bool handled = false; |
599 | 599 | ||
600 | 600 | (void)dest; | |
601 | switch (req->bRequest) { | 601 | switch (req->bRequest) { |
602 | case USB_BULK_GET_MAX_LUN: { | 602 | case USB_BULK_GET_MAX_LUN: { |
603 | #ifdef ONLY_EXPOSE_CARD_SLOT | 603 | #ifdef ONLY_EXPOSE_CARD_SLOT |