/* Step 1 of the initialization of a USB MSC device Sends the setup request GET_MAX_LUN.  */
static void uhi_msc_enable_step1(void)
/* Step 1 of the initialization of a USB MSC device Sends the setup request GET_MAX_LUN.  */
static void uhi_msc_enable_step1(void)
{
	uhi_msc_dev_sel->nb_lun = 0;
	usb_setup_req_t req;
	req.bmRequestType = USB_REQ_RECIP_INTERFACE|USB_REQ_TYPE_CLASS|USB_REQ_DIR_IN;
	req.bRequest = USB_REQ_MSC_GET_MAX_LUN;
	req.wValue = 0;
	req.wIndex = uhi_msc_dev_sel->iface_num;
	req.wLength = 1;
	uhd_setup_request(uhi_msc_dev_sel->dev->address,
			&req,
			&(uhi_msc_dev_sel->nb_lun),
			1,
			NULL,
			uhi_msc_enable_step2);
}