We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edd7229 commit 2bc77e4Copy full SHA for 2bc77e4
examples/stm32f7disco-qspi-flash/main.rs
@@ -42,7 +42,7 @@ fn main() -> ! {
42
// Setup DMA
43
let dma = DMA::new(pac_periph.DMA2);
44
let stream = dma.streams.stream7;
45
- let dma = dma.handle.enable(&mut rcc);
+ let dma = dma.handle.enable(&mut rcc.ahb1);
46
47
// Ramp up clocks to 216 MHz
48
rcc.cfgr.hse(hse_cfg).sysclk(216.mhz()).freeze();
0 commit comments