Skip to content

Commit

Permalink
[stm32] Fix compilation of DMA channel clearInterruptFlags()
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-durand committed Jan 2, 2024
1 parent 59437d1 commit 8bcbe25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modm/platform/dma/stm32/dma.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ public:
static void
clearInterruptFlags(InterruptFlags_t flags = InterruptFlags::All)
{
ControlHal::clearInterruptFlags(flags, ChannelID);
ControlHal::clearInterruptFlags(InterruptFlags(flags.value), ChannelID);
}

/**
Expand Down

0 comments on commit 8bcbe25

Please sign in to comment.