diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-15 16:45:26 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-07-15 16:45:26 +0000 |
commit | f4710f6f8653219b432f3a843ce117d4f4c136fd (patch) | |
tree | c344d4bed57017544229bfce9e195d1e5de2394c /LUFA/Drivers/USB/LowLevel/Endpoint.c | |
parent | dfe50ff34970eda173cafbb3d636a5f7bedc87bd (diff) | |
download | lufa-f4710f6f8653219b432f3a843ce117d4f4c136fd.tar.gz lufa-f4710f6f8653219b432f3a843ce117d4f4c136fd.tar.bz2 lufa-f4710f6f8653219b432f3a843ce117d4f4c136fd.zip |
Removed the automated checking of event names in the demo, project and bootloader makefiles due to inconsistancies between the behaviour of the command line tools used to perform the check on each platform.
Removed the internal endpoint and pipe memory allocation macros, as this is already performed directly in the code. Simplify the endpoint and pipe reset procedure.
Diffstat (limited to 'LUFA/Drivers/USB/LowLevel/Endpoint.c')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Endpoint.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Endpoint.c b/LUFA/Drivers/USB/LowLevel/Endpoint.c index 22579af6d..d22a50d6c 100644 --- a/LUFA/Drivers/USB/LowLevel/Endpoint.c +++ b/LUFA/Drivers/USB/LowLevel/Endpoint.c @@ -65,9 +65,9 @@ void Endpoint_ClearEndpoints(void) for (uint8_t EPNum = 0; EPNum < ENDPOINT_TOTAL_ENDPOINTS; EPNum++) { Endpoint_SelectEndpoint(EPNum); - UEIENX = 0; - UEINTX = 0; - Endpoint_DeallocateMemory(); + UEIENX = 0; + UEINTX = 0; + UECFG1X = 0; Endpoint_DisableEndpoint(); } } |