aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Platform
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2014-05-21 19:55:27 +1000
committerDean Camera <dean@fourwalledcubicle.com>2014-05-21 19:55:27 +1000
commitc4e85215bff8363ae9a9a79581cc3e7427b597c7 (patch)
tree2127d64607c68a6b583670aae49221fafeb10045 /LUFA/Platform
parent77689358894e45e63e5d48aa519c04fcb773a9ac (diff)
downloadlufa-c4e85215bff8363ae9a9a79581cc3e7427b597c7.tar.gz
lufa-c4e85215bff8363ae9a9a79581cc3e7427b597c7.tar.bz2
lufa-c4e85215bff8363ae9a9a79581cc3e7427b597c7.zip
Fixed incorrect XMEGA DFLL reference frequency (thanks to Martin Aakerberg)
Diffstat (limited to 'LUFA/Platform')
-rw-r--r--LUFA/Platform/XMEGA/ClockManagement.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/LUFA/Platform/XMEGA/ClockManagement.h b/LUFA/Platform/XMEGA/ClockManagement.h
index a39911a0e..9edaa7223 100644
--- a/LUFA/Platform/XMEGA/ClockManagement.h
+++ b/LUFA/Platform/XMEGA/ClockManagement.h
@@ -286,7 +286,7 @@
const uint8_t Reference,
const uint32_t Frequency)
{
- uint16_t DFLLCompare = (Frequency / 1000);
+ uint16_t DFLLCompare = (Frequency / 1024);
switch (Source)
{