From 866d3a7e0997bcc39931e733a50cb2511c8fb989 Mon Sep 17 00:00:00 2001 From: Dean 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. git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@629 d5102386-fcda-11dd-9fdb-3debd5008f28 --- Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Demos/Host/LowLevel/MassStorageHost/Lib') diff --git a/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c b/Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c index c524b538..b89ad196 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