aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Platform/UC3/ClockManagement.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-07-14 00:26:11 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-07-14 00:26:11 +0000
commit13951ab043c43d0e3ea4ac0ae6a641fd88e7fcb0 (patch)
treeea399449fb00a9286c6c15bc9053c552eac0a21d /LUFA/Platform/UC3/ClockManagement.h
parent01d269879f127dff8db5367f3c341d983db3ab40 (diff)
downloadlufa-13951ab043c43d0e3ea4ac0ae6a641fd88e7fcb0.tar.gz
lufa-13951ab043c43d0e3ea4ac0ae6a641fd88e7fcb0.tar.bz2
lufa-13951ab043c43d0e3ea4ac0ae6a641fd88e7fcb0.zip
Fix compile errors in the UC3 platform support due to a forward reference and an incorrect function prototype.
Diffstat (limited to 'LUFA/Platform/UC3/ClockManagement.h')
-rw-r--r--LUFA/Platform/UC3/ClockManagement.h12
1 files changed, 6 insertions, 6 deletions
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)
{