diff options
Diffstat (limited to 'examples/stm32h7/src')
| -rw-r--r-- | examples/stm32h7/src/bin/camera.rs | 2 | ||||
| -rw-r--r-- | examples/stm32h7/src/example_common.rs | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/examples/stm32h7/src/bin/camera.rs b/examples/stm32h7/src/bin/camera.rs index 2fa742b83..d94592071 100644 --- a/examples/stm32h7/src/bin/camera.rs +++ b/examples/stm32h7/src/bin/camera.rs | |||
| @@ -34,8 +34,6 @@ pub fn config() -> Config { | |||
| 34 | config.rcc.sys_ck = Some(400.mhz().into()); | 34 | config.rcc.sys_ck = Some(400.mhz().into()); |
| 35 | config.rcc.hclk = Some(400.mhz().into()); | 35 | config.rcc.hclk = Some(400.mhz().into()); |
| 36 | config.rcc.pll1.q_ck = Some(100.mhz().into()); | 36 | config.rcc.pll1.q_ck = Some(100.mhz().into()); |
| 37 | config.rcc.enable_dma1 = true; | ||
| 38 | config.rcc.enable_dma2 = true; | ||
| 39 | config.rcc.pclk1 = Some(100.mhz().into()); | 37 | config.rcc.pclk1 = Some(100.mhz().into()); |
| 40 | config.rcc.pclk2 = Some(100.mhz().into()); | 38 | config.rcc.pclk2 = Some(100.mhz().into()); |
| 41 | config.rcc.pclk3 = Some(100.mhz().into()); | 39 | config.rcc.pclk3 = Some(100.mhz().into()); |
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 | } |
