diff options
author | Dean Camera <[email protected]> | 2010-07-15 16:45:26 +0000 |
---|---|---|
committer | Dean Camera <[email protected]> | 2010-07-15 16:45:26 +0000 |
commit | f4710f6f8653219b432f3a843ce117d4f4c136fd (patch) | |
tree | c344d4bed57017544229bfce9e195d1e5de2394c /LUFA/Drivers/USB/LowLevel/Pipe.c | |
parent | dfe50ff34970eda173cafbb3d636a5f7bedc87bd (diff) | |
download | qmk_firmware-f4710f6f8653219b432f3a843ce117d4f4c136fd.tar.gz qmk_firmware-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/Pipe.c')
-rw-r--r-- | LUFA/Drivers/USB/LowLevel/Pipe.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/LUFA/Drivers/USB/LowLevel/Pipe.c b/LUFA/Drivers/USB/LowLevel/Pipe.c index 8e817a2792..6f1d51682c 100644 --- a/LUFA/Drivers/USB/LowLevel/Pipe.c +++ b/LUFA/Drivers/USB/LowLevel/Pipe.c @@ -60,13 +60,10 @@ void Pipe_ClearPipes(void) for (uint8_t PNum = 0; PNum < PIPE_TOTAL_PIPES; PNum++) { - Pipe_ResetPipe(PNum); Pipe_SelectPipe(PNum); - UPIENX = 0; - UPINTX = 0; - Pipe_ClearError(); - Pipe_ClearErrorFlags(); - Pipe_DeallocateMemory(); + UPIENX = 0; + UPINTX = 0; + UPCFG1X = 0; Pipe_DisablePipe(); } } |