diff --git a/examples/stm32l4/src/bin/spi_dma.rs b/examples/stm32l4/src/bin/spi_dma.rs index b4d5091b2..a9327f8fe 100644 --- a/examples/stm32l4/src/bin/spi_dma.rs +++ b/examples/stm32l4/src/bin/spi_dma.rs @@ -21,8 +21,8 @@ async fn main(_spawner: Spawner, p: Peripherals) { p.PC10, p.PC12, p.PC11, - p.DMA1_CH0, p.DMA1_CH1, + p.DMA1_CH2, Hertz(1_000_000), Config::default(), );