diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-02-08 21:48:33 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-02-08 21:48:33 +0000 |
| commit | 2cf79f6569a7d65d70599a62642c7bc353abd692 (patch) | |
| tree | 16f9b8ce5d8e58f7b6cf32f8071f394795f8300b /examples/stm32h7/src/example_common.rs | |
| parent | a4b4a7bcf995c9dcc32a2944887be853df604a1c (diff) | |
| parent | d37d714314093747c9042faefcc3a22e2bfee59d (diff) | |
Merge #603
603: Add support for FMC r=Dirbaio a=matoushybl
Co-authored-by: Matous Hybl <[email protected]>
Diffstat (limited to 'examples/stm32h7/src/example_common.rs')
| -rw-r--r-- | examples/stm32h7/src/example_common.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/stm32h7/src/example_common.rs b/examples/stm32h7/src/example_common.rs index 524bee6d9..b8acc2790 100644 --- a/examples/stm32h7/src/example_common.rs +++ b/examples/stm32h7/src/example_common.rs | |||
| @@ -22,6 +22,7 @@ defmt::timestamp! {"{=u64}", { | |||
| 22 | pub fn config() -> Config { | 22 | pub fn config() -> Config { |
| 23 | let mut config = Config::default(); | 23 | let mut config = Config::default(); |
| 24 | config.rcc.sys_ck = Some(400.mhz().into()); | 24 | config.rcc.sys_ck = Some(400.mhz().into()); |
| 25 | config.rcc.hclk = Some(200.mhz().into()); | ||
| 25 | config.rcc.pll1.q_ck = Some(100.mhz().into()); | 26 | config.rcc.pll1.q_ck = Some(100.mhz().into()); |
| 26 | config | 27 | config |
| 27 | } | 28 | } |
