aboutsummaryrefslogtreecommitdiff
path: root/embassy-usb-synopsys-otg
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2024-04-26 21:59:31 +0000
committerGitHub <[email protected]>2024-04-26 21:59:31 +0000
commit34074e6eb0741e084653b3ef71163393741f558b (patch)
treef627117733d3fcd5bbb4eb664559c387a8e81f33 /embassy-usb-synopsys-otg
parent026445d0109f9e80586634a757dfe39a58068cfc (diff)
parent5732ee7ca975c0dd1afa83ade1667a2599d20985 (diff)
Merge pull request #2872 from embassy-rs/cleanups
Misc cleanups.
Diffstat (limited to 'embassy-usb-synopsys-otg')
-rw-r--r--embassy-usb-synopsys-otg/Cargo.toml3
-rw-r--r--embassy-usb-synopsys-otg/src/lib.rs2
2 files changed, 1 insertions, 4 deletions
diff --git a/embassy-usb-synopsys-otg/Cargo.toml b/embassy-usb-synopsys-otg/Cargo.toml
index b0562627b..f117d0cbf 100644
--- a/embassy-usb-synopsys-otg/Cargo.toml
+++ b/embassy-usb-synopsys-otg/Cargo.toml
@@ -8,8 +8,6 @@ categories = ["embedded", "hardware-support", "no-std", "asynchronous"]
8repository = "https://github.com/embassy-rs/embassy" 8repository = "https://github.com/embassy-rs/embassy"
9documentation = "https://docs.embassy.dev/embassy-usb-synopsys-otg" 9documentation = "https://docs.embassy.dev/embassy-usb-synopsys-otg"
10 10
11# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
12
13[package.metadata.embassy_docs] 11[package.metadata.embassy_docs]
14src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-synopsys-otg-v$VERSION/embassy-usb-synopsys-otg/src/" 12src_base = "https://github.com/embassy-rs/embassy/blob/embassy-usb-synopsys-otg-v$VERSION/embassy-usb-synopsys-otg/src/"
15src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-synopsys-otg/src/" 13src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-usb-synopsys-otg/src/"
@@ -18,7 +16,6 @@ target = "thumbv7em-none-eabi"
18 16
19[dependencies] 17[dependencies]
20critical-section = "1.1" 18critical-section = "1.1"
21futures = { version = "0.3.17", default-features = false }
22 19
23embassy-sync = { version = "0.5.0", path = "../embassy-sync" } 20embassy-sync = { version = "0.5.0", path = "../embassy-sync" }
24embassy-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