From aed3e5674f780135a87db8e178ae78042361975e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1niel=20Buga?= Date: Tue, 31 Oct 2023 10:13:27 +0100 Subject: [PATCH] Drop futures dependency in embassy-nrf --- embassy-nrf/Cargo.toml | 1 - embassy-nrf/src/pdm.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/embassy-nrf/Cargo.toml b/embassy-nrf/Cargo.toml index 360f77c19..c30b319cf 100644 --- a/embassy-nrf/Cargo.toml +++ b/embassy-nrf/Cargo.toml @@ -110,7 +110,6 @@ defmt = { version = "0.3", optional = true } log = { version = "0.4.14", optional = true } cortex-m-rt = ">=0.6.15,<0.8" cortex-m = "0.7.6" -futures = { version = "0.3.17", default-features = false } critical-section = "1.1" rand_core = "0.6.3" fixed = "1.10.0" diff --git a/embassy-nrf/src/pdm.rs b/embassy-nrf/src/pdm.rs index 01f41e9f9..24fa29a4a 100644 --- a/embassy-nrf/src/pdm.rs +++ b/embassy-nrf/src/pdm.rs @@ -2,6 +2,7 @@ #![macro_use] +use core::future::poll_fn; use core::marker::PhantomData; use core::sync::atomic::{compiler_fence, Ordering}; use core::task::Poll; @@ -9,7 +10,6 @@ use core::task::Poll; use embassy_hal_internal::drop::OnDrop; use embassy_hal_internal::{into_ref, PeripheralRef}; use fixed::types::I7F1; -use futures::future::poll_fn; use crate::chip::EASY_DMA_SIZE; use crate::gpio::sealed::Pin;