diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-08-03 16:19:04 +0200 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2022-08-03 16:19:04 +0200 |
commit | efa5e46b917bf750665a12711bd0e8f18c412cab (patch) | |
tree | de4346b0a4292773a0aff19256d6e11c69045056 /README.md | |
parent | 068536b616ef3790d8758b164f2fc3803c89fc26 (diff) | |
download | nrf-softdevice-efa5e46b917bf750665a12711bd0e8f18c412cab.zip |
Update Embassy (for the executor/util crate split)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -137,7 +137,7 @@ DO NOT disable the softdevice's interrupts. You MUST NOT use the widely-used `co - Make sure the `critical-section-impl` Cargo feature is enabled for `nrf-softdevice`. This makes `nrf-softdevice` emit a custom critical section implementation that disables only non-softdevice interrupts. - Use `critical_section::with` instead of `cortex_m::interrupt::free`. This uses the custom critical-section impl. -- Use `embassy::blocking_mutex::CriticalSectionMutex` instead of `cortex_m::interrupt::Mutex`. +- Use `embassy_util::blocking_mutex::CriticalSectionMutex` instead of `cortex_m::interrupt::Mutex`. Make sure you're not using any library that internally uses `cortex_m::interrupt::free` as well. |