diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-06-23 08:45:46 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-06-23 08:45:46 +0000 |
| commit | 866d3a7e0997bcc39931e733a50cb2511c8fb989 (patch) | |
| tree | fca0df94ed5d2abf2ef6db0afa13711ca36c9569 /Demos/Host/LowLevel/MassStorageHost/Lib | |
| parent | 3b47e0761584bbd3f98aa83c1c6de21add8452d8 (diff) | |
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
Diffstat (limited to 'Demos/Host/LowLevel/MassStorageHost/Lib')
| -rw-r--r-- | Demos/Host/LowLevel/MassStorageHost/Lib/MassStoreCommands.c | 1 |
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 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 */
|
