diff options
author | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2020-11-02 19:53:19 +0100 |
---|---|---|
committer | Dario Nieuwenhuis <dirbaio@dirbaio.net> | 2020-11-02 19:53:19 +0100 |
commit | c517b8740e93964da3819b0589e962d947cd1d88 (patch) | |
tree | 175b2c44f7a84dbb088df3f4f739f56a2bc3503e /examples/src/bin/ble_bas_peripheral.rs | |
parent | 242a6cf33fd13a7fdc3a61f048d9fc564e855375 (diff) | |
download | nrf-softdevice-c517b8740e93964da3819b0589e962d947cd1d88.zip |
Fix wrong signal_fn in executors.
Diffstat (limited to 'examples/src/bin/ble_bas_peripheral.rs')
-rw-r--r-- | examples/src/bin/ble_bas_peripheral.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/bin/ble_bas_peripheral.rs b/examples/src/bin/ble_bas_peripheral.rs index ac87c46..53f4ff9 100644 --- a/examples/src/bin/ble_bas_peripheral.rs +++ b/examples/src/bin/ble_bas_peripheral.rs @@ -123,7 +123,7 @@ fn main() -> ! { let sd = Softdevice::enable(&config); - let executor = EXECUTOR.put(Executor::new(cortex_m::asm::wfi)); + let executor = EXECUTOR.put(Executor::new(cortex_m::asm::sev)); executor.spawn(softdevice_task(sd)).dewrap(); executor.spawn(bluetooth_task(sd)).dewrap(); |