aboutsummaryrefslogtreecommitdiff
path: root/examples/src/bin/lpuart_dma.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src/bin/lpuart_dma.rs')
-rw-r--r--examples/src/bin/lpuart_dma.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/src/bin/lpuart_dma.rs b/examples/src/bin/lpuart_dma.rs
index 4e321b111..f4dfbcf39 100644
--- a/examples/src/bin/lpuart_dma.rs
+++ b/examples/src/bin/lpuart_dma.rs
@@ -48,8 +48,7 @@ async fn main(_spawner: Spawner) {
48 48
49 // Create UART instance with DMA channels 49 // Create UART instance with DMA channels
50 let mut lpuart = LpuartDma::new( 50 let mut lpuart = LpuartDma::new(
51 p.LPUART2, 51 p.LPUART2, p.P2_2, // TX pin
52 p.P2_2, // TX pin
53 p.P2_3, // RX pin 52 p.P2_3, // RX pin
54 p.DMA_CH0, // TX DMA channel 53 p.DMA_CH0, // TX DMA channel
55 p.DMA_CH1, // RX DMA channel 54 p.DMA_CH1, // RX DMA channel
@@ -82,4 +81,3 @@ async fn main(_spawner: Spawner) {
82 81
83 defmt::info!("Example complete"); 82 defmt::info!("Example complete");
84} 83}
85