From 8bcbe253227bda581c62feecc448a5dd77daf5d9 Mon Sep 17 00:00:00 2001 From: Christopher Durand Date: Thu, 16 Nov 2023 18:05:04 +0100 Subject: [PATCH] [stm32] Fix compilation of DMA channel clearInterruptFlags() --- src/modm/platform/dma/stm32/dma.hpp.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modm/platform/dma/stm32/dma.hpp.in b/src/modm/platform/dma/stm32/dma.hpp.in index 5a672d8c6b..5cab771b7d 100644 --- a/src/modm/platform/dma/stm32/dma.hpp.in +++ b/src/modm/platform/dma/stm32/dma.hpp.in @@ -384,7 +384,7 @@ public: static void clearInterruptFlags(InterruptFlags_t flags = InterruptFlags::All) { - ControlHal::clearInterruptFlags(flags, ChannelID); + ControlHal::clearInterruptFlags(InterruptFlags(flags.value), ChannelID); } /**