static uint8_t USBD_MIDI_MSC_DataOut(void *pdev, uint8_t epnum) { /*DataOut can be for MSC or MIDI */ PRINTF(" USBD_MIDI_MSC_DataOut, epnum: %d \n",epnum); if (epnum == MSC_OUT_EP) { return (USBD_MSC_DataOut(pdev, epnum)); } else { return (USBD_MIDI_DataOut(pdev, epnum)); } }
/** * @brief USBD_MSC_HID_DataOut * handle data OUT Stage * @param pdev: device instance * @param epnum: endpoint index * @retval status */ static uint8_t USBD_MSC_HID_DataOut(void *pdev , uint8_t epnum) { /*DataOut can be for MSC*/ return (USBD_MSC_DataOut(pdev, epnum)); }