stm32/bdma: do not clear IF on IRQ handler
This commit is contained in:
parent
43c4f24207
commit
3c7375c6cd
@ -126,7 +126,6 @@ unsafe fn on_irq() {
|
|||||||
pac::peripherals! {
|
pac::peripherals! {
|
||||||
(bdma, $dma:ident) => {
|
(bdma, $dma:ident) => {
|
||||||
let isr = pac::$dma.isr().read();
|
let isr = pac::$dma.isr().read();
|
||||||
pac::$dma.ifcr().write_value(isr);
|
|
||||||
let dman = dma_num!($dma);
|
let dman = dma_num!($dma);
|
||||||
|
|
||||||
for chn in 0..crate::pac::dma_channels_count!($dma) {
|
for chn in 0..crate::pac::dma_channels_count!($dma) {
|
||||||
|
Loading…
Reference in New Issue
Block a user