From 9e88db7f5021c7621e68594fd6ad1940156548ff Mon Sep 17 00:00:00 2001 From: Dylan Laduranty Date: Wed, 5 Apr 2023 20:14:59 +0200 Subject: [PATCH] usbus/msc: remove call to usbdev_control_slicer_ready() This function should not be called by the driver as USBUS will handle it already. So remove this call to prevent duplication Signed-off-by: Dylan Laduranty --- sys/usb/usbus/msc/msc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sys/usb/usbus/msc/msc.c b/sys/usb/usbus/msc/msc.c index 30e508271b..8884ec9806 100644 --- a/sys/usb/usbus/msc/msc.c +++ b/sys/usb/usbus/msc/msc.c @@ -384,7 +384,6 @@ static int _control_handler(usbus_t *usbus, usbus_handler_t *handler, } /* Return the number of MTD devices available on the board */ usbus_control_slicer_put_bytes(usbus, &data, sizeof(data)); - usbus_control_slicer_ready(usbus); break; case USB_MSC_SETUP_REQ_BOMSR: DEBUG_PUTS("[msc]: TODO: implement reset setup request");