mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #8929 from gebart/pr/teensy31-offby1
teensy31: Fix off-by-1 error in clock dividers
This commit is contained in:
commit
bf1e7bf24c
@ -44,7 +44,7 @@ static const clock_config_t clock_config = {
|
||||
* should have better accuracy than the internal slow clock, and lower power
|
||||
* consumption than using the 16 MHz crystal and the OSC0 module */
|
||||
.clkdiv1 = SIM_CLKDIV1_OUTDIV1(0) | SIM_CLKDIV1_OUTDIV2(0) |
|
||||
SIM_CLKDIV1_OUTDIV3(2) | SIM_CLKDIV1_OUTDIV4(2),
|
||||
SIM_CLKDIV1_OUTDIV3(1) | SIM_CLKDIV1_OUTDIV4(1),
|
||||
.default_mode = KINETIS_MCG_MODE_FEE,
|
||||
.erc_range = KINETIS_MCG_ERC_RANGE_LOW, /* Input clock is 32768 Hz */
|
||||
.fcrdiv = 0, /* Fast IRC divide by 1 => 4 MHz */
|
||||
|
Loading…
Reference in New Issue
Block a user