aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Platform/XMEGA/ClockManagement.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Platform/XMEGA/ClockManagement.h')
-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)
{