/* USBH_MSC_BOT_Abort The function handle the BOT Abort process.  */
static USBH_StatusTypeDef USBH_MSC_BOT_Abort(USBH_HandleTypeDef *phost, uint8_t lun, uint8_t dir)
/* USBH_MSC_BOT_Abort The function handle the BOT Abort process.  */
static USBH_StatusTypeDef USBH_MSC_BOT_Abort(USBH_HandleTypeDef *phost, uint8_t lun, uint8_t dir)
{
  UNUSED(lun);
  USBH_StatusTypeDef status = USBH_FAIL;
  MSC_HandleTypeDef *MSC_Handle = (MSC_HandleTypeDef *) phost->pActiveClass->pData;
  switch (dir)
  {
    case BOT_DIR_IN :
      status = USBH_ClrFeature(phost, MSC_Handle->InEp);
      break;
    case BOT_DIR_OUT :
      status = USBH_ClrFeature(phost, MSC_Handle->OutEp);
      break;
    default:
      break;
  }
  return status;
}