Try to figure out h7cm's problem.

This commit is contained in:
Bob McWhirter 2021-07-09 09:12:11 -04:00
parent 6552af8f0b
commit 696a3b8552

View file

@ -329,6 +329,15 @@ pac::peripherals! {
};
}
};
// Because H7cm changes the naming
(bdma, BDMA) => {
impl_dma!(BDMA, 0);
pac::dma_channels! {
($channel_peri:ident, DMA1, $channel_num:expr) => {
impl_dma_channel!($channel_peri, BDMA, 0, $channel_num);
};
}
};
}
pac::interrupts! {