Reduce use of the full futures crate.
This commit is contained in:
@@ -16,7 +16,6 @@ target = "thumbv7em-none-eabi"
|
||||
|
||||
[dependencies]
|
||||
critical-section = "1.1"
|
||||
futures = { version = "0.3.17", default-features = false }
|
||||
|
||||
embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
|
||||
embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" }
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
mod fmt;
|
||||
|
||||
use core::cell::UnsafeCell;
|
||||
use core::future::poll_fn;
|
||||
use core::marker::PhantomData;
|
||||
use core::sync::atomic::{AtomicBool, AtomicU16, Ordering};
|
||||
use core::task::Poll;
|
||||
@@ -16,7 +17,6 @@ use embassy_usb_driver::{
|
||||
Bus as _, Direction, EndpointAddress, EndpointAllocError, EndpointError, EndpointIn, EndpointInfo, EndpointOut,
|
||||
EndpointType, Event, Unsupported,
|
||||
};
|
||||
use futures::future::poll_fn;
|
||||
|
||||
pub mod otg_v1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user