diff options
Diffstat (limited to 'LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h')
-rw-r--r-- | LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h b/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h index 6115ec6e3..dad55f101 100644 --- a/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h +++ b/LUFA/Drivers/USB/Core/AVR8/USBInterrupt_AVR8.h @@ -136,7 +136,7 @@ OTGIEN |= (1 << VBERRE); break; case USB_INT_SRPI: - OTGIEN |= (1 << SRPE); + OTGIEN |= (1 << SRPE); break; #endif } @@ -194,12 +194,12 @@ OTGIEN &= ~(1 << VBERRE); break; case USB_INT_SRPI: - OTGIEN &= ~(1 << SRPE); + OTGIEN &= ~(1 << SRPE); break; #endif } } - + static inline void USB_INT_Clear(const uint8_t Interrupt) ATTR_ALWAYS_INLINE; static inline void USB_INT_Clear(const uint8_t Interrupt) { @@ -257,7 +257,7 @@ #endif } } - + static inline bool USB_INT_IsEnabled(const uint8_t Interrupt) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT; static inline bool USB_INT_IsEnabled(const uint8_t Interrupt) { @@ -300,10 +300,10 @@ return (OTGIEN & (1 << SRPE)); #endif } - + return false; } - + static inline bool USB_INT_HasOccurred(const uint8_t Interrupt) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT; static inline bool USB_INT_HasOccurred(const uint8_t Interrupt) { |