diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-01-04 11:22:08 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-01-04 13:31:30 +0100 |
| commit | 89b009b11d7c45533f53a41c6586ba514cf7be58 (patch) | |
| tree | 70c550e647b2a1754b50b20cd365bcc67939986d /examples/stm32h7/src/example_common.rs | |
| parent | 5d2f40b337da8bd6af93425d8a1dcc9229fe1f6d (diff) | |
stm32h7/rcc: remove unneeded DMA enable settings.
These are automatically enabled by dma::init().
Diffstat (limited to 'examples/stm32h7/src/example_common.rs')
| -rw-r--r-- | examples/stm32h7/src/example_common.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/stm32h7/src/example_common.rs b/examples/stm32h7/src/example_common.rs index 2e26730fa..524bee6d9 100644 --- a/examples/stm32h7/src/example_common.rs +++ b/examples/stm32h7/src/example_common.rs | |||
| @@ -23,6 +23,5 @@ 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.pll1.q_ck = Some(100.mhz().into()); | 25 | config.rcc.pll1.q_ck = Some(100.mhz().into()); |
| 26 | config.rcc.enable_dma1 = true; | ||
| 27 | config | 26 | config |
| 28 | } | 27 | } |
