Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only served to obfuscate code.
This commit is contained in:
parent
eeba38e343
commit
72c2922e38
22 changed files with 115 additions and 110 deletions
|
@ -249,6 +249,11 @@ TASK(USB_MassStorage)
|
|||
/* Reset the data endpoint banks */
|
||||
Endpoint_ResetFIFO(MASS_STORAGE_OUT_EPNUM);
|
||||
Endpoint_ResetFIFO(MASS_STORAGE_IN_EPNUM);
|
||||
|
||||
Endpoint_SelectEndpoint(MASS_STORAGE_OUT_EPNUM);
|
||||
Endpoint_ClearStall();
|
||||
Endpoint_SelectEndpoint(MASS_STORAGE_IN_EPNUM);
|
||||
Endpoint_ClearStall();
|
||||
|
||||
/* Clear the abort transfer flag */
|
||||
IsMassStoreReset = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue