From ef7a574c9e1118b9861d1efd5808cbb97314fdfd Mon Sep 17 00:00:00 2001 From: Mathias Date: Tue, 24 Sep 2024 15:00:35 +0200 Subject: [PATCH] Bump embassy --- Cargo.toml | 12 +++++++++++- src/asynch/runner.rs | 5 +---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 650b27a..e84312f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -85,4 +85,14 @@ exclude = ["examples"] [patch.crates-io] no-std-net = { git = "https://github.com/rushmorem/no-std-net", branch = "issue-15" } atat = { git = "https://github.com/BlackbirdHQ/atat", rev = "a466836" } -# atat = { path = "../atat/atat" } \ No newline at end of file +# atat = { path = "../atat/atat" } + +embassy-futures = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-time = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-time-driver = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-time-queue-driver = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-net = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-net-driver = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-net-driver-channel = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-net-ppp = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } +embassy-sync = { git = "https://github.com/embassy-rs/embassy", rev = "0ede847" } \ No newline at end of file diff --git a/src/asynch/runner.rs b/src/asynch/runner.rs index 5153b77..ae19712 100644 --- a/src/asynch/runner.rs +++ b/src/asynch/runner.rs @@ -355,10 +355,7 @@ where } #[cfg(feature = "ppp")] - pub async fn run( - &mut self, - stack: &embassy_net::Stack, - ) -> ! { + pub async fn run(&mut self, stack: embassy_net::Stack<'_>) -> ! { loop { if self.init().await.is_err() { continue;