aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-synopsys-otg
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-04-26 23:18:28 +0200
committerDario Nieuwenhuis <[email protected]>2024-04-26 23:22:25 +0200
commit5732ee7ca975c0dd1afa83ade1667a2599d20985 (patch)
treef627117733d3fcd5bbb4eb664559c387a8e81f33 /embassy-usb-synopsys-otg
parent597315873dbef394ae4cefe0af740fcb1bb951e0 (diff)
Reduce use of the full `futures` crate.
Diffstat (limited to 'embassy-usb-synopsys-otg')
-rw-r--r--embassy-usb-synopsys-otg/Cargo.toml1
-rw-r--r--embassy-usb-synopsys-otg/src/lib.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/embassy-usb-synopsys-otg/Cargo.toml b/embassy-usb-synopsys-otg/Cargo.toml
index 7292e8491..f117d0cbf 100644
--- a/embassy-usb-synopsys-otg/Cargo.toml
+++ b/embassy-usb-synopsys-otg/Cargo.toml
@@ -16,7 +16,6 @@ target = "thumbv7em-none-eabi"
16 16
17[dependencies] 17[dependencies]
18critical-section = "1.1" 18critical-section = "1.1"
19futures = { version = "0.3.17", default-features = false }
20 19
21embassy-sync = { version = "0.5.0", path = "../embassy-sync" } 20embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
22embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" } 21embassy-usb-driver = {version = "0.1.0", path = "../embassy-usb-driver" }
diff --git a/embassy-usb-synopsys-otg/src/lib.rs b/embassy-usb-synopsys-otg/src/lib.rs
index 59a99796c..af82de2c1 100644
--- a/embassy-usb-synopsys-otg/src/lib.rs
+++ b/embassy-usb-synopsys-otg/src/lib.rs
@@ -7,6 +7,7 @@
7mod fmt; 7mod fmt;
8 8
9use core::cell::UnsafeCell; 9use core::cell::UnsafeCell;
10use core::future::poll_fn;
10use core::marker::PhantomData; 11use core::marker::PhantomData;
11use core::sync::atomic::{AtomicBool, AtomicU16, Ordering}; 12use core::sync::atomic::{AtomicBool, AtomicU16, Ordering};
12use core::task::Poll; 13use core::task::Poll;
@@ -16,7 +17,6 @@ use embassy_usb_driver::{
16 Bus as _, Direction, EndpointAddress, EndpointAllocError, EndpointError, EndpointIn, EndpointInfo, EndpointOut, 17 Bus as _, Direction, EndpointAddress, EndpointAllocError, EndpointError, EndpointIn, EndpointInfo, EndpointOut,
17 EndpointType, Event, Unsupported, 18 EndpointType, Event, Unsupported,
18}; 19};
19use futures::future::poll_fn;
20 20
21pub mod otg_v1; 21pub mod otg_v1;
22 22