diff options
author | alexmoon <alex.r.moon@gmail.com> | 2022-08-03 19:57:00 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-03 19:57:00 -0600 |
commit | ab0ad770c729b4f034bf0a085b50347a3e6b2ea9 (patch) | |
tree | de4346b0a4292773a0aff19256d6e11c69045056 /README.md | |
parent | 068536b616ef3790d8758b164f2fc3803c89fc26 (diff) | |
parent | efa5e46b917bf750665a12711bd0e8f18c412cab (diff) | |
download | nrf-softdevice-ab0ad770c729b4f034bf0a085b50347a3e6b2ea9.zip |
Merge pull request #128 from embassy-rs/update-embassy
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. |