diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-19 15:26:42 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-02-19 15:26:42 +0000 |
commit | 84ff878fd75b1d2861feb537bc32d7575c40dcda (patch) | |
tree | 0722248eb7a5a2f39fa52790ac15640bf1df167c /LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h | |
parent | 50ff97f378b76d177fef7162e31bb3fb71ef050c (diff) | |
download | lufa-84ff878fd75b1d2861feb537bc32d7575c40dcda.tar.gz lufa-84ff878fd75b1d2861feb537bc32d7575c40dcda.tar.bz2 lufa-84ff878fd75b1d2861feb537bc32d7575c40dcda.zip |
Fix errors uncovered by the new build test compile warnings; fix UC3 pipe configuration function broken, redundant function prototypes and unused parameters.
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h')
-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 7b9e7993b..1433d8ca2 100644 --- a/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/Pipe_UC3.h @@ -389,7 +389,7 @@ static inline bool Pipe_HasPipeInterrupted(const uint8_t PipeNumber) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE; static inline bool Pipe_HasPipeInterrupted(const uint8_t PipeNumber) { - return ((AVR32_USBB.uhint & (AVR32_USBB_P0INTES_MASK << USB_Pipe_SelectedPipe)) ? true : false); + return ((AVR32_USBB.uhint & (AVR32_USBB_P0INTES_MASK << PipeNumber)) ? true : false); } /** Unfreezes the selected pipe, allowing it to communicate with an attached device. */ |