Skip to content

Commit 08479cd

Browse files
committed
[stm32] Fix STM32G0 DMA
1 parent 7bd22ce commit 08479cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modm/platform/dma/stm32/dma.hpp.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public:
7373
%% endif
7474
}
7575
%% endif
76-
%% if dmaType in ["stm32-mux"]:
76+
%% if dmaType in ["stm32-mux"] and target.family != "g0":
7777
Rcc::enable<Peripheral::Dmamux1>();
7878
%% endif
7979
}

0 commit comments

Comments
 (0)