Content originally posted in LPCWare by mengxp on Thu Jun 09 08:36:20 MST 2016
else if ( event == USB_EVT_OUT_NAK )
{
if (pMsc->BulkStage != MSC_BS_DATA_OUT) <<<<<<<<<<<<<<<<<< It seems that add this line to solve above problem
MSC_ReadReqEP(pMsc, pMsc->BulkBuf);
}
But in the ROM ,the code does not have a "If", I think add the "if" is reasonable
Why ROM can work well ??!!