summaryrefslogtreecommitdiff
path: root/nrf-softdevice
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2022-08-03 16:19:04 +0200
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2022-08-03 16:19:04 +0200
commitefa5e46b917bf750665a12711bd0e8f18c412cab (patch)
treede4346b0a4292773a0aff19256d6e11c69045056 /nrf-softdevice
parent068536b616ef3790d8758b164f2fc3803c89fc26 (diff)
downloadnrf-softdevice-efa5e46b917bf750665a12711bd0e8f18c412cab.zip
Update Embassy (for the executor/util crate split)
Diffstat (limited to 'nrf-softdevice')
-rw-r--r--nrf-softdevice/Cargo.toml2
-rw-r--r--nrf-softdevice/src/events.rs2
-rw-r--r--nrf-softdevice/src/softdevice.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/nrf-softdevice/Cargo.toml b/nrf-softdevice/Cargo.toml
index 9b7df74..2d0b211 100644
--- a/nrf-softdevice/Cargo.toml
+++ b/nrf-softdevice/Cargo.toml
@@ -41,7 +41,7 @@ log = { version = "0.4.11", optional = true }
critical-section = { version = "0.2.1" }
num_enum = { version = "0.5.1", default-features = false }
-embassy = { version = "0.1.0" }
+embassy-util = { version = "0.1.0" }
cortex-m = "0.7.2"
cortex-m-rt = ">=0.6.15,<0.8"
heapless = "0.7.1"
diff --git a/nrf-softdevice/src/events.rs b/nrf-softdevice/src/events.rs
index dd60c64..794f3df 100644
--- a/nrf-softdevice/src/events.rs
+++ b/nrf-softdevice/src/events.rs
@@ -1,7 +1,7 @@
use core::mem::MaybeUninit;
use core::task::Poll;
-use embassy::waitqueue::AtomicWaker;
+use embassy_util::waitqueue::AtomicWaker;
use futures::future::poll_fn;
use num_enum::{IntoPrimitive, TryFromPrimitive};
diff --git a/nrf-softdevice/src/softdevice.rs b/nrf-softdevice/src/softdevice.rs
index 84248e8..caad633 100644
--- a/nrf-softdevice/src/softdevice.rs
+++ b/nrf-softdevice/src/softdevice.rs
@@ -2,7 +2,7 @@ use core::marker::PhantomData;
use core::ptr;
use core::sync::atomic::{AtomicBool, Ordering};
-use embassy::util::Forever;
+use embassy_util::Forever;
use crate::{pac, raw, RawError, SocEvent};