/* Handle various control requests related to the msc storage interface.  */
static enum usbd_request_return_codes msc_control_request(usbd_device *usbd_dev, struct usb_setup_data *req, uint8_t **buf, uint16_t *len, usbd_control_complete_callback *complete)
/* Handle various control requests related to the msc storage interface.  */
static enum usbd_request_return_codes msc_control_request(usbd_device *usbd_dev, struct usb_setup_data *req, uint8_t **buf, uint16_t *len, usbd_control_complete_callback *complete)
{
	(void)complete;
	(void)usbd_dev;
	switch (req->bRequest) {
	case USB_MSC_REQ_BULK_ONLY_RESET:
		return USBD_REQ_HANDLED;
	case USB_MSC_REQ_GET_MAX_LUN:
		*buf[0] = 0;
		*len = 1;
		return USBD_REQ_HANDLED;
	}
	return USBD_REQ_NOTSUPP;
}