diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-06 19:09:06 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-06-06 19:09:06 +0000 |
commit | fab1678602ff0e560a4bd9a1ba6b5db6f3872732 (patch) | |
tree | a0787afc2a9a1dfc93b43db4007ad15cc4edb0f7 /LUFA/Drivers/USB | |
parent | 000c4c6c5ccc2c136f25fc4bcede6de093b301c6 (diff) | |
download | lufa-fab1678602ff0e560a4bd9a1ba6b5db6f3872732.tar.gz lufa-fab1678602ff0e560a4bd9a1ba6b5db6f3872732.tar.bz2 lufa-fab1678602ff0e560a4bd9a1ba6b5db6f3872732.zip |
Fix typo in the UC3 host pipe driver. Improve library TAR export exclusion filetype filter.
Diffstat (limited to 'LUFA/Drivers/USB')
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h index 0c3136e15..0d313fed6 100644 --- a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h @@ -204,7 +204,7 @@ static inline uint8_t Pipe_GetPipeDirection(void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE; static inline uint8_t Pipe_GetPipeDirection(void) { - return (((&AVR32_USBB.UPCFG0)[USB_Endpoint_SelectedEndpoint].ptoken == PIPE_TOKEN_OUT) ? PIPE_DIR_OUT : PIPE_DIR_IN); + return (((&AVR32_USBB.UPCFG0)[USB_Pipe_SelectedPipe].ptoken == PIPE_TOKEN_OUT) ? PIPE_DIR_OUT : PIPE_DIR_IN); } /** Returns the pipe address of the currently selected pipe. This is typically used to save the |