diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/mcxa/src/bin/lpuart_dma.rs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/mcxa/src/bin/lpuart_dma.rs b/examples/mcxa/src/bin/lpuart_dma.rs index 5497f8646..1fc6595e6 100644 --- a/examples/mcxa/src/bin/lpuart_dma.rs +++ b/examples/mcxa/src/bin/lpuart_dma.rs | |||
| @@ -32,12 +32,6 @@ async fn main(_spawner: Spawner) { | |||
| 32 | 32 | ||
| 33 | defmt::info!("LPUART DMA example starting..."); | 33 | defmt::info!("LPUART DMA example starting..."); |
| 34 | 34 | ||
| 35 | // Enable DMA interrupts (per-channel, as needed) | ||
| 36 | unsafe { | ||
| 37 | cortex_m::peripheral::NVIC::unmask(pac::Interrupt::DMA_CH0); | ||
| 38 | cortex_m::peripheral::NVIC::unmask(pac::Interrupt::DMA_CH1); | ||
| 39 | } | ||
| 40 | |||
| 41 | // Create UART configuration | 35 | // Create UART configuration |
| 42 | let config = Config { | 36 | let config = Config { |
| 43 | baudrate_bps: 115_200, | 37 | baudrate_bps: 115_200, |
