aboutsummaryrefslogtreecommitdiff
path: root/examples/nrf5340
diff options
context:
space:
mode:
Diffstat (limited to 'examples/nrf5340')
-rw-r--r--examples/nrf5340/Cargo.toml1
-rw-r--r--examples/nrf5340/src/bin/gpiote_channel.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/examples/nrf5340/Cargo.toml b/examples/nrf5340/Cargo.toml
index 1d994d925..0d3e39fe5 100644
--- a/examples/nrf5340/Cargo.toml
+++ b/examples/nrf5340/Cargo.toml
@@ -21,7 +21,6 @@ static_cell = "2"
21cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] } 21cortex-m = { version = "0.7.6", features = ["inline-asm", "critical-section-single-core"] }
22cortex-m-rt = "0.7.0" 22cortex-m-rt = "0.7.0"
23panic-probe = { version = "0.3", features = ["print-defmt"] } 23panic-probe = { version = "0.3", features = ["print-defmt"] }
24futures = { version = "0.3.17", default-features = false, features = ["async-await"] }
25rand = { version = "0.8.4", default-features = false } 24rand = { version = "0.8.4", default-features = false }
26embedded-storage = "0.3.1" 25embedded-storage = "0.3.1"
27usbd-hid = "0.7.0" 26usbd-hid = "0.7.0"
diff --git a/examples/nrf5340/src/bin/gpiote_channel.rs b/examples/nrf5340/src/bin/gpiote_channel.rs
index c0a55142f..23f6fca98 100644
--- a/examples/nrf5340/src/bin/gpiote_channel.rs
+++ b/examples/nrf5340/src/bin/gpiote_channel.rs
@@ -61,5 +61,5 @@ async fn main(_spawner: Spawner) {
61 } 61 }
62 }; 62 };
63 63
64 futures::join!(button1, button2, button3, button4); 64 embassy_futures::join::join4(button1, button2, button3, button4).await;
65} 65}