aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Platform
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-02-19 15:26:42 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-02-19 15:26:42 +0000
commit84ff878fd75b1d2861feb537bc32d7575c40dcda (patch)
tree0722248eb7a5a2f39fa52790ac15640bf1df167c /LUFA/Platform
parent50ff97f378b76d177fef7162e31bb3fb71ef050c (diff)
downloadlufa-84ff878fd75b1d2861feb537bc32d7575c40dcda.tar.gz
lufa-84ff878fd75b1d2861feb537bc32d7575c40dcda.tar.bz2
lufa-84ff878fd75b1d2861feb537bc32d7575c40dcda.zip
Fix errors uncovered by the new build test compile warnings; fix UC3 pipe configuration function broken, redundant function prototypes and unused parameters.
Diffstat (limited to 'LUFA/Platform')
-rw-r--r--LUFA/Platform/XMEGA/ClockManagement.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/LUFA/Platform/XMEGA/ClockManagement.h b/LUFA/Platform/XMEGA/ClockManagement.h
index 415c9871f..20fb6464c 100644
--- a/LUFA/Platform/XMEGA/ClockManagement.h
+++ b/LUFA/Platform/XMEGA/ClockManagement.h
@@ -323,14 +323,11 @@
* and ready for use before this function is called.
*
* \param[in] Source Clock source for the CPU core, a value from \ref XMEGA_System_ClockSource_t.
- * \param[in] SourceFreq Frequency of the CPU core's clock source, in Hz.
*
* \return Boolean \c true if the CPU core clock was sucessfully altered, \c false if invalid parameters specified.
*/
- static inline bool XMEGACLK_SetCPUClockSource(const uint8_t Source,
- const uint32_t SourceFreq) ATTR_ALWAYS_INLINE;
- static inline bool XMEGACLK_SetCPUClockSource(const uint8_t Source,
- const uint32_t SourceFreq)
+ static inline bool XMEGACLK_SetCPUClockSource(const uint8_t Source) ATTR_ALWAYS_INLINE;
+ static inline bool XMEGACLK_SetCPUClockSource(const uint8_t Source)
{
uint8_t ClockSourceMask = 0;