summaryrefslogtreecommitdiff
path: root/examples/src/bin/flash.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/flash.rs
parent242a6cf33fd13a7fdc3a61f048d9fc564e855375 (diff)
downloadnrf-softdevice-c517b8740e93964da3819b0589e962d947cd1d88.zip
Fix wrong signal_fn in executors.
Diffstat (limited to 'examples/src/bin/flash.rs')
-rw-r--r--examples/src/bin/flash.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/bin/flash.rs b/examples/src/bin/flash.rs
index 54bde9a..8153f02 100644
--- a/examples/src/bin/flash.rs
+++ b/examples/src/bin/flash.rs
@@ -43,7 +43,7 @@ fn main() -> ! {
let sd = Softdevice::enable(&Default::default());
- 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(flash_task(sd)).dewrap();