From a3ea01473a37451dbd80552ae501e854175055db Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 25 Nov 2023 00:08:13 +0100 Subject: [PATCH] stm32: fix dac trait --- embassy-stm32/src/dac/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32/src/dac/mod.rs b/embassy-stm32/src/dac/mod.rs index 3caa7caa..500eac4c 100644 --- a/embassy-stm32/src/dac/mod.rs +++ b/embassy-stm32/src/dac/mod.rs @@ -350,7 +350,7 @@ macro_rules! impl_dma_methods { } impl_dma_methods!(1, DacDma1); -impl_dma_methods!(2, DacDma1); +impl_dma_methods!(2, DacDma2); impl<'d, T: Instance, const N: u8, DMA> Drop for DacChannel<'d, T, N, DMA> { fn drop(&mut self) {