summaryrefslogtreecommitdiff
path: root/examples/src/bin/ble_bas_peripheral.rs
diff options
context:
space:
mode:
authorDario Nieuwenhuis <dirbaio@dirbaio.net>2020-11-02 19:53:19 +0100
committerDario Nieuwenhuis <dirbaio@dirbaio.net>2020-11-02 19:53:19 +0100
commitc517b8740e93964da3819b0589e962d947cd1d88 (patch)
tree175b2c44f7a84dbb088df3f4f739f56a2bc3503e /examples/src/bin/ble_bas_peripheral.rs
parent242a6cf33fd13a7fdc3a61f048d9fc564e855375 (diff)
downloadnrf-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.rs2
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();