summaryrefslogtreecommitdiff
path: root/examples/src/bin/interrupts.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/src/bin/interrupts.rs')
-rw-r--r--examples/src/bin/interrupts.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/src/bin/interrupts.rs b/examples/src/bin/interrupts.rs
index 574ecf2..8600d37 100644
--- a/examples/src/bin/interrupts.rs
+++ b/examples/src/bin/interrupts.rs
@@ -89,7 +89,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(interrupt_task(sd)).dewrap();