Fixed incorrect XMEGA DFLL reference frequency (thanks to Martin Aakerberg)

This commit is contained in:
Dean Camera 2014-05-21 19:55:27 +10:00
parent 7768935889
commit c4e85215bf
3 changed files with 4 additions and 2 deletions

View file

@ -286,7 +286,7 @@
const uint8_t Reference,
const uint32_t Frequency)
{
uint16_t DFLLCompare = (Frequency / 1000);
uint16_t DFLLCompare = (Frequency / 1024);
switch (Source)
{