diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-09 14:00:03 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-09 14:00:03 +0000 |
commit | 7a51e97c3b8d8b1af193cb54c77d12ecba03f898 (patch) | |
tree | 95fbdf9ca11bba627d09b9429b5e00ab7dd8a1fb /LUFA/Platform | |
parent | 0284385b4e1c9a629e5c5b89ecc701a3d9bd5001 (diff) | |
download | lufa-7a51e97c3b8d8b1af193cb54c77d12ecba03f898.tar.gz lufa-7a51e97c3b8d8b1af193cb54c77d12ecba03f898.tar.bz2 lufa-7a51e97c3b8d8b1af193cb54c77d12ecba03f898.zip |
Update LUFA core to be compatible with the AVR-GCC -Wswitch-default warning switch.
Diffstat (limited to 'LUFA/Platform')
-rw-r--r-- | LUFA/Platform/XMEGA/ClockManagement.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/LUFA/Platform/XMEGA/ClockManagement.h b/LUFA/Platform/XMEGA/ClockManagement.h index c824c89fb..971068fdd 100644 --- a/LUFA/Platform/XMEGA/ClockManagement.h +++ b/LUFA/Platform/XMEGA/ClockManagement.h @@ -188,9 +188,9 @@ OSC.CTRL |= OSC_RC32KEN_bm; while (!(OSC.STATUS & OSC_RC32KRDY_bm)); return true; + default: + return false; } - - return false; } /** Stops the given internal oscillator of the XMEGA microcontroller. @@ -213,9 +213,9 @@ case CLOCK_SRC_INT_RC32KHZ: OSC.CTRL &= ~OSC_RC32KEN_bm; return true; + default: + return false; } - - return false; } /** Starts the PLL of the XMEGA microcontroller, with the given options. This routine blocks until the PLL is ready for use. |