Even more allowed unused.

This commit is contained in:
Bob McWhirter 2021-11-02 15:28:14 -04:00
parent 6bbf450478
commit 076c795ebb

View File

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