diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-04-26 23:18:28 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-04-26 23:22:25 +0200 |
| commit | 5732ee7ca975c0dd1afa83ade1667a2599d20985 (patch) | |
| tree | f627117733d3fcd5bbb4eb664559c387a8e81f33 /embassy-usb-synopsys-otg/src | |
| parent | 597315873dbef394ae4cefe0af740fcb1bb951e0 (diff) | |
Reduce use of the full `futures` crate.
Diffstat (limited to 'embassy-usb-synopsys-otg/src')
| -rw-r--r-- | embassy-usb-synopsys-otg/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
| 7 | mod fmt; | 7 | mod fmt; |
| 8 | 8 | ||
| 9 | use core::cell::UnsafeCell; | 9 | use core::cell::UnsafeCell; |
| 10 | use core::future::poll_fn; | ||
| 10 | use core::marker::PhantomData; | 11 | use core::marker::PhantomData; |
| 11 | use core::sync::atomic::{AtomicBool, AtomicU16, Ordering}; | 12 | use core::sync::atomic::{AtomicBool, AtomicU16, Ordering}; |
| 12 | use core::task::Poll; | 13 | use 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 | }; |
| 19 | use futures::future::poll_fn; | ||
| 20 | 20 | ||
| 21 | pub mod otg_v1; | 21 | pub mod otg_v1; |
| 22 | 22 | ||
