From bb23e55f11a42f6214757483d010ebd24377caeb Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 23 Jun 2009 08:45:46 +0000 Subject: Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset is issued while not processing a command. --- Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Demos/Host') diff --git a/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c b/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c index c524b5387..b89ad1969 100644 --- a/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c +++ b/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c @@ -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 */ -- cgit v1.2.3