diff options
author | Ulf Lilleengen <lulf@redhat.com> | 2022-08-25 11:23:38 +0200 |
---|---|---|
committer | Ulf Lilleengen <lulf@redhat.com> | 2022-08-25 11:23:38 +0200 |
commit | e2c16d3f3e31129808ee6781ca88d6e788f4761e (patch) | |
tree | b997268650094434506c4cac6f5bb9383a36ecc5 /README.md | |
parent | e6dbc368d2e75d5442f5f52fb8343ed04e7a6c7d (diff) | |
download | nrf-softdevice-e2c16d3f3e31129808ee6781ca88d6e788f4761e.zip |
Update after embassy-util was 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_util::blocking_mutex::CriticalSectionMutex` instead of `cortex_m::interrupt::Mutex`. +- Use `embassy_sync::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. |