/* USB Device MSC SCSI Media Removal Callback Parameters: None Return Value: None  */
void USBD_MSC_MediaRemoval(void)
/* USB Device MSC SCSI Media Removal Callback Parameters: None Return Value: None  */
void USBD_MSC_MediaRemoval(void)
{
    if (USBD_MSC_CBW.CB[4] & 1) {
        USBD_MSC_CSW.bStatus = CSW_CMD_FAILED;
    } else {
        USBD_MSC_CSW.bStatus = CSW_CMD_PASSED;
    }
    USBD_MSC_SetCSW();
}