Allow unused macros temporarily until U5 supports DMA.
This commit is contained in:
parent
ee1ea44b60
commit
6bbf450478
1 changed files with 2 additions and 0 deletions
|
@ -215,6 +215,7 @@ crate::pac::peripheral_pins!(
|
||||||
};
|
};
|
||||||
);
|
);
|
||||||
|
|
||||||
|
#[allow(unused_macros)]
|
||||||
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
|
||||||
|
@ -242,6 +243,7 @@ macro_rules! impl_dma {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(unused_macros)]
|
||||||
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);
|
||||||
|
|
Loading…
Reference in a new issue