From 811ed18922104f36580ab5d9d32555578a5fb9c6 Mon Sep 17 00:00:00 2001 From: Bob McWhirter Date: Thu, 8 Jul 2021 16:06:43 -0400 Subject: [PATCH] Add a missing 'use' for dma_v2. --- embassy-stm32/src/dma/v2.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/embassy-stm32/src/dma/v2.rs b/embassy-stm32/src/dma/v2.rs index 5080776f..cec8fe87 100644 --- a/embassy-stm32/src/dma/v2.rs +++ b/embassy-stm32/src/dma/v2.rs @@ -2,6 +2,7 @@ use core::task::Poll; use crate::dma_traits::{ReadDma, WriteDma}; use atomic_polyfill::{AtomicU8, Ordering}; +use core::future::Future; use embassy::interrupt::{Interrupt, InterruptExt}; use embassy::util::AtomicWaker; use futures::future::poll_fn;