Fix typo in the UC3 host pipe driver. Improve library TAR export exclusion filetype filter.
This commit is contained in:
parent
000c4c6c5c
commit
fab1678602
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue