stm32/bdma: do not clear IF on IRQ handler

This commit is contained in:
Dario Nieuwenhuis 2021-07-24 10:01:11 +02:00
parent 43c4f24207
commit 3c7375c6cd

View File

@ -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) {