diff --git a/embassy-rp/src/dma.rs b/embassy-rp/src/dma.rs index 137e9a0c..69482374 100644 --- a/embassy-rp/src/dma.rs +++ b/embassy-rp/src/dma.rs @@ -17,13 +17,7 @@ unsafe fn DMA_IRQ_0() { for channel in 0..CHANNEL_COUNT { let ctrl_trig = pac::DMA.ch(channel).ctrl_trig().read(); if ctrl_trig.ahb_error() { - panic!("DMA: ahb error on DMA_0 channel {}", channel); - } - if ctrl_trig.read_error() { - panic!("DMA: read error on DMA_0 channel {}", channel); - } - if ctrl_trig.write_error() { - panic!("DMA: write error on DMA_0 channel {}", channel); + panic!("DMA: error on DMA_0 channel {}", channel); } if ints0 & (1 << channel) == (1 << channel) {