aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Host/LowLevel
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-06-23 08:45:46 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-06-23 08:45:46 +0000
commitbb23e55f11a42f6214757483d010ebd24377caeb (patch)
treefca0df94ed5d2abf2ef6db0afa13711ca36c9569 /Demos/Host/LowLevel
parenta3a04aa6719a891a1350179d5ac451c3e18c3bf2 (diff)
downloadlufa-bb23e55f11a42f6214757483d010ebd24377caeb.tar.gz
lufa-bb23e55f11a42f6214757483d010ebd24377caeb.tar.bz2
lufa-bb23e55f11a42f6214757483d010ebd24377caeb.zip
Fixed MassStorage demo not clearing the reset flag when a Mass Storage Reset is issued while not processing a command.
Diffstat (limited to 'Demos/Host/LowLevel')
-rw-r--r--Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c1
1 files changed, 1 insertions, 0 deletions
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 */