1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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 <dylan.laduranty@mesotic.com>
This commit is contained in:
Dylan Laduranty 2023-04-05 20:14:59 +02:00
parent 07be4be9ed
commit 9e88db7f50

View File

@ -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");