diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-09-22 16:48:35 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-09-22 16:48:35 +0200 |
commit | 10d1ad2343825388277dc54db649c9349a0b6de8 (patch) | |
tree | 87d150bf3398969d4e8cec4f014e8d5ea043ec3a /tests | |
parent | a0487380da42a71ab7532e2bc1befd1039c18a78 (diff) | |
download | embassy-10d1ad2343825388277dc54db649c9349a0b6de8.zip |
Replace futures::future::join -> embassy_futures::join::join.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rp/Cargo.toml | 1 | ||||
-rw-r--r-- | tests/rp/src/bin/gpio_async.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/rp/Cargo.toml b/tests/rp/Cargo.toml index 4d6877cc..11ecb916 100644 --- a/tests/rp/Cargo.toml +++ b/tests/rp/Cargo.toml @@ -8,6 +8,7 @@ embassy-sync = { version = "0.1.0", path = "../../embassy-sync", features = ["de embassy-executor = { version = "0.1.0", path = "../../embassy-executor", features = ["defmt", "integrated-timers"] } embassy-time = { version = "0.1.0", path = "../../embassy-time", features = ["defmt"] } embassy-rp = { version = "0.1.0", path = "../../embassy-rp", features = ["nightly", "defmt", "unstable-pac", "unstable-traits"] } +embassy-futures = { version = "0.1.0", path = "../../embassy-futures" } defmt = "0.3.0" defmt-rtt = "0.3.0" diff --git a/tests/rp/src/bin/gpio_async.rs b/tests/rp/src/bin/gpio_async.rs index 1eeaac1f..f20b8fcb 100644 --- a/tests/rp/src/bin/gpio_async.rs +++ b/tests/rp/src/bin/gpio_async.rs @@ -4,9 +4,9 @@ use defmt::{assert, *}; use embassy_executor::Spawner; +use embassy_futures::join::join; use embassy_rp::gpio::{Input, Level, Output, Pull}; use embassy_time::{Duration, Instant, Timer}; -use futures::future::join; use {defmt_rtt as _, panic_probe as _}; #[embassy_executor::main] |