projects
/
pub
/
lufa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added new USB_Host_ClearPipeStall() convenience function to clear a stall condition...
[pub/lufa.git]
/
Demos
/
Host
/
ClassDriver
/
MassStorageHost
/
Lib
/
MassStoreCommands.c
diff --git
a/Demos/Host/ClassDriver/MassStorageHost/Lib/MassStoreCommands.c
b/Demos/Host/ClassDriver/MassStorageHost/Lib/MassStoreCommands.c
index
afeace0
..
7597473
100644
(file)
--- a/
Demos/Host/ClassDriver/MassStorageHost/Lib/MassStoreCommands.c
+++ b/
Demos/Host/ClassDriver/MassStorageHost/Lib/MassStoreCommands.c
@@
-134,7
+134,7
@@
static uint8_t MassStore_WaitForDataReceived(void)
if (Pipe_IsStalled())
\r
{
\r
/* Clear the stall condition on the OUT pipe */
\r
if (Pipe_IsStalled())
\r
{
\r
/* Clear the stall condition on the OUT pipe */
\r
-
MassStore
_ClearPipeStall(MASS_STORE_DATA_OUT_PIPE);
\r
+
USB_Host
_ClearPipeStall(MASS_STORE_DATA_OUT_PIPE);
\r
\r
return PIPE_RWSTREAM_PipeStalled;
\r
}
\r
\r
return PIPE_RWSTREAM_PipeStalled;
\r
}
\r
@@
-147,7
+147,7
@@
static uint8_t MassStore_WaitForDataReceived(void)
if (Pipe_IsStalled())
\r
{
\r
/* Clear the stall condition on the IN pipe */
\r
if (Pipe_IsStalled())
\r
{
\r
/* Clear the stall condition on the IN pipe */
\r
-
MassStore
_ClearPipeStall(MASS_STORE_DATA_IN_PIPE);
\r
+
USB_Host
_ClearPipeStall(MASS_STORE_DATA_IN_PIPE);
\r
\r
return PIPE_RWSTREAM_PipeStalled;
\r
}
\r
\r
return PIPE_RWSTREAM_PipeStalled;
\r
}
\r