diff options
Diffstat (limited to 'LUFA/Drivers/USB/Core/UC3')
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/Host_UC3.c | 3 | ||||
-rw-r--r-- | LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h | 14 |
2 files changed, 13 insertions, 4 deletions
diff --git a/LUFA/Drivers/USB/Core/UC3/Host_UC3.c b/LUFA/Drivers/USB/Core/UC3/Host_UC3.c index 932381a14..172239c46 100644 --- a/LUFA/Drivers/USB/Core/UC3/Host_UC3.c +++ b/LUFA/Drivers/USB/Core/UC3/Host_UC3.c @@ -180,6 +180,9 @@ void USB_Host_ProcessNextHostState(void) EVENT_USB_Host_DeviceEnumerationComplete(); break; + + default: + break; } if ((ErrorCode != HOST_ENUMERROR_NoError) && (USB_HostState != HOST_STATE_Unattached)) diff --git a/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h b/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h index 871a0cac2..bcefa361f 100644 --- a/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h +++ b/LUFA/Drivers/USB/Core/UC3/USBInterrupt_UC3.h @@ -134,6 +134,8 @@ AVR32_USBB.USBCON.vberre = true; break; #endif + default: + break; } } @@ -187,6 +189,8 @@ AVR32_USBB.USBCON.vberre = false; break; #endif + default: + break; } } @@ -252,6 +256,8 @@ (void)AVR32_USBB.USBSTACLR; break; #endif + default: + break; } } @@ -292,9 +298,9 @@ case USB_INT_VBERRI: return AVR32_USBB.USBCON.vberre; #endif + default: + return false; } - - return false; } static inline bool USB_INT_HasOccurred(const uint8_t Interrupt) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT; @@ -334,9 +340,9 @@ case USB_INT_VBERRI: return AVR32_USBB.USBSTA.vberri; #endif + default: + return false; } - - return false; } /* Includes: */ |