projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Endpoint_ResetFIFO() renamed to Endpoint_ResetEndpoint(), to be consistent with the...
[pub/USBasp.git]
/
Demos
/
Device
/
LowLevel
/
MassStorage
/
MassStorage.c
diff --git
a/Demos/Device/LowLevel/MassStorage/MassStorage.c
b/Demos/Device/LowLevel/MassStorage/MassStorage.c
index
cbfef0f
..
d6345e3
100644
(file)
--- a/
Demos/Device/LowLevel/MassStorage/MassStorage.c
+++ b/
Demos/Device/LowLevel/MassStorage/MassStorage.c
@@
-199,8
+199,8
@@
void MassStorage_Task(void)
if (IsMassStoreReset)
{
/* Reset the data endpoint banks */
if (IsMassStoreReset)
{
/* Reset the data endpoint banks */
- Endpoint_Reset
FIFO
(MASS_STORAGE_OUT_EPNUM);
- Endpoint_Reset
FIFO
(MASS_STORAGE_IN_EPNUM);
+ Endpoint_Reset
Endpoint
(MASS_STORAGE_OUT_EPNUM);
+ Endpoint_Reset
Endpoint
(MASS_STORAGE_IN_EPNUM);
Endpoint_SelectEndpoint(MASS_STORAGE_OUT_EPNUM);
Endpoint_ClearStall();
Endpoint_SelectEndpoint(MASS_STORAGE_OUT_EPNUM);
Endpoint_ClearStall();