diff options
Diffstat (limited to 'firmware/usbstack/usb_serial.c')
-rw-r--r-- | firmware/usbstack/usb_serial.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/usbstack/usb_serial.c b/firmware/usbstack/usb_serial.c index c96936f1d4..fad62787ec 100644 --- a/firmware/usbstack/usb_serial.c +++ b/firmware/usbstack/usb_serial.c | |||
@@ -277,11 +277,13 @@ int usb_serial_get_config_descriptor(unsigned char *dest, int max_packet_size) | |||
277 | } | 277 | } |
278 | 278 | ||
279 | /* called by usb_core_control_request() */ | 279 | /* called by usb_core_control_request() */ |
280 | bool usb_serial_control_request(struct usb_ctrlrequest* req, unsigned char* dest) | 280 | bool usb_serial_control_request(struct usb_ctrlrequest* req, void* reqdata, unsigned char* dest) |
281 | { | 281 | { |
282 | bool handled = false; | 282 | bool handled = false; |
283 | 283 | ||
284 | (void)dest; | 284 | (void)dest; |
285 | (void)reqdata; | ||
286 | |||
285 | if (req->wIndex != control_interface) | 287 | if (req->wIndex != control_interface) |
286 | { | 288 | { |
287 | return false; | 289 | return false; |