From ff1cb9ac74644e652dd8b5edd378eaec5cc27557 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Mon, 12 Jul 2021 10:55:23 -0400 Subject: [PATCH] Remove warnings. --- embassy-stm32/src/dmamux/mod.rs | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/embassy-stm32/src/dmamux/mod.rs b/embassy-stm32/src/dmamux/mod.rs index 4ef04081..ebb1748d 100644 --- a/embassy-stm32/src/dmamux/mod.rs +++ b/embassy-stm32/src/dmamux/mod.rs @@ -1,27 +1,11 @@ #![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::bdma_channels; use crate::pac::dma_requests; -use crate::pac::interrupts; -use crate::pac::peripheral_count; use crate::pac::peripherals; use crate::peripherals; -use core::future::Future; - -use crate::dma_traits::{ReadDma, WriteDma}; - /* #[allow(unused)] pub(crate) async unsafe fn transfer_m2p(