/* USBH_BulkSendData Sends the Bulk Packet to the device.  */
USBH_StatusTypeDef USBH_BulkSendData(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t pipe_num, uint8_t do_ping)
/* USBH_BulkSendData Sends the Bulk Packet to the device.  */
USBH_StatusTypeDef USBH_BulkSendData(USBH_HandleTypeDef *phost, uint8_t *buff, uint16_t length, uint8_t pipe_num, uint8_t do_ping)
{
  if (phost->device.speed != USBH_SPEED_HIGH)
  {
    do_ping = 0U;
  }
  (void)USBH_LL_SubmitURB(phost,
                          pipe_num,
                          0U,
                          USBH_EP_BULK,
                          USBH_PID_DATA,
                          buff,
                          length,
                          do_ping);
  return USBH_OK;
}