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) {