Removed DESCRIPTOR_ADDRESS() macro as it was largely supurflous and only served to obfuscate code.

This commit is contained in:
Dean Camera 2009-05-17 07:44:00 +00:00
parent eeba38e343
commit 72c2922e38
22 changed files with 115 additions and 110 deletions

View file

@ -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;