Skip to content

Commit

Permalink
Bump embassy (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
MathiasKoch authored Sep 24, 2024
1 parent b68d766 commit 06206e0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 11 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
# 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" }
5 changes: 1 addition & 4 deletions src/asynch/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -355,10 +355,7 @@ where
}

#[cfg(feature = "ppp")]
pub async fn run<D: embassy_net::driver::Driver>(
&mut self,
stack: &embassy_net::Stack<D>,
) -> ! {
pub async fn run(&mut self, stack: embassy_net::Stack<'_>) -> ! {
loop {
if self.init().await.is_err() {
continue;
Expand Down

0 comments on commit 06206e0

Please sign in to comment.