Replace futures::future::join -> embassy_futures::join::join.

This commit is contained in:
Dario Nieuwenhuis
2022-09-22 16:48:35 +02:00
parent a0487380da
commit 10d1ad2343
19 changed files with 20 additions and 13 deletions

View File

@ -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"

View File

@ -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]