From 3c7375c6cd9c2add1fba960295add6418523bbbc Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 24 Jul 2021 10:01:11 +0200 Subject: [PATCH] stm32/bdma: do not clear IF on IRQ handler --- embassy-stm32/src/dma/bdma.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/embassy-stm32/src/dma/bdma.rs b/embassy-stm32/src/dma/bdma.rs index 99ade03c..c52188c3 100644 --- a/embassy-stm32/src/dma/bdma.rs +++ b/embassy-stm32/src/dma/bdma.rs @@ -126,7 +126,6 @@ unsafe fn on_irq() { pac::peripherals! { (bdma, $dma:ident) => { let isr = pac::$dma.isr().read(); - pac::$dma.ifcr().write_value(isr); let dman = dma_num!($dma); for chn in 0..crate::pac::dma_channels_count!($dma) {