From 13951ab043c43d0e3ea4ac0ae6a641fd88e7fcb0 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Thu, 14 Jul 2011 00:26:11 +0000 Subject: Fix compile errors in the UC3 platform support due to a forward reference and an incorrect function prototype. --- LUFA/Platform/UC3/ClockManagement.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'LUFA/Platform/UC3/ClockManagement.h') diff --git a/LUFA/Platform/UC3/ClockManagement.h b/LUFA/Platform/UC3/ClockManagement.h index deac64f94..60a3d18f4 100644 --- a/LUFA/Platform/UC3/ClockManagement.h +++ b/LUFA/Platform/UC3/ClockManagement.h @@ -127,12 +127,12 @@ * * \return Boolean \c true if the external oscillator was successfully started, \c false if invalid parameters specified. */ - static inline void AVR32CLK_StartExternalOscillator(const uint8_t Channel, - const uint8_t Type, - const uint8_t Startup) ATTR_ALWAYS_INLINE; - static inline void AVR32CLK_StartExternalOscillator(const uint8_t Channel, - const uint8_t Type, - const uint8_t Startup) + static inline uint8_t AVR32CLK_StartExternalOscillator(const uint8_t Channel, + const uint8_t Type, + const uint8_t Startup) ATTR_ALWAYS_INLINE; + static inline uint8_t AVR32CLK_StartExternalOscillator(const uint8_t Channel, + const uint8_t Type, + const uint8_t Startup) { switch (Channel) { -- cgit v1.2.3