Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset is issued while not processing a command.
This commit is contained in:
parent
a3a04aa671
commit
bb23e55f11
5 changed files with 9 additions and 7 deletions
|
@ -90,6 +90,7 @@ static uint8_t MassStore_SendCommand(void)
|
|||
/* Send the data in the OUT pipe to the attached device */
|
||||
Pipe_ClearOUT();
|
||||
|
||||
/* Wait until command has been sent */
|
||||
while(!(Pipe_IsOUTReady()));
|
||||
|
||||
/* Freeze pipe after use */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue