/* 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)
{
  USBH_StatusTypeDef status = USBH_FAIL;
  MSC_HandleTypeDef *MSC_Handle =  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;
}