Remove warnings.

This commit is contained in:
Bob McWhirter 2021-07-12 10:55:23 -04:00
parent 509c7f6835
commit ff1cb9ac74

View File

@ -1,27 +1,11 @@
#![macro_use] #![macro_use]
use core::task::Poll;
use atomic_polyfill::{AtomicU8, Ordering};
use embassy::interrupt::{Interrupt, InterruptExt};
use embassy::util::AtomicWaker;
use futures::future::poll_fn;
use crate::interrupt;
use crate::pac::bdma::{regs, vals};
use crate::pac; use crate::pac;
use crate::pac::bdma_channels; use crate::pac::bdma_channels;
use crate::pac::dma_requests; use crate::pac::dma_requests;
use crate::pac::interrupts;
use crate::pac::peripheral_count;
use crate::pac::peripherals; use crate::pac::peripherals;
use crate::peripherals; use crate::peripherals;
use core::future::Future;
use crate::dma_traits::{ReadDma, WriteDma};
/* /*
#[allow(unused)] #[allow(unused)]
pub(crate) async unsafe fn transfer_m2p( pub(crate) async unsafe fn transfer_m2p(