Allow unused macros temporarily until U5 supports DMA.

This commit is contained in:
Bob McWhirter 2021-11-02 15:20:42 -04:00
parent ee1ea44b60
commit 6bbf450478

View file

@ -215,6 +215,7 @@ crate::pac::peripheral_pins!(
};
);
#[allow(unused_macros)]
macro_rules! impl_dma {
($inst:ident, {dmamux: $dmamux:ident}, $signal:ident, $request:expr) => {
impl<T> sealed::$signal<peripherals::$inst> for T
@ -242,6 +243,7 @@ macro_rules! impl_dma {
};
}
#[allow(unused_macros)]
crate::pac::peripheral_dma_channels! {
($peri:ident, usart, $kind:ident, RX, $channel:tt, $request:expr) => {
impl_dma!($peri, $channel, RxDma, $request);