diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-07-17 08:04:33 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2021-07-17 08:04:33 +0200 |
commit | d7176da37c372d8a57283af540f4fecb532540aa (patch) | |
tree | b832ade1a4f07ecddc01f04290bb400115712510 /examples/stm32f4/src/bin | |
parent | 36be877ba3dc102150c59fb3ad58adf28172f4b8 (diff) | |
download | embassy-d7176da37c372d8a57283af540f4fecb532540aa.zip |
stm32/examples: update DMA channel names
Diffstat (limited to 'examples/stm32f4/src/bin')
-rw-r--r-- | examples/stm32f4/src/bin/usart_dma.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f4/src/bin/usart_dma.rs b/examples/stm32f4/src/bin/usart_dma.rs index 39e199d5..b578aebc 100644 --- a/examples/stm32f4/src/bin/usart_dma.rs +++ b/examples/stm32f4/src/bin/usart_dma.rs @@ -25,7 +25,7 @@ async fn main_task() { let p = embassy_stm32::init(Default::default()); let config = Config::default(); - let mut usart = Uart::new(p.USART3, p.PD9, p.PD8, p.DMA1_3, NoDma, config); + let mut usart = Uart::new(p.USART3, p.PD9, p.PD8, p.DMA1_CH3, NoDma, config); for n in 0u32.. { let mut s: String<128> = String::new(); |