aboutsummaryrefslogtreecommitdiff
path: root/examples/extern_binds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/extern_binds.rs')
-rw-r--r--examples/extern_binds.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/extern_binds.rs b/examples/extern_binds.rs
index 23b99d5a..b24e7a19 100644
--- a/examples/extern_binds.rs
+++ b/examples/extern_binds.rs
@@ -40,10 +40,9 @@ mod app {
rtic::pend(Interrupt::UART0);
- debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
-
loop {
cortex_m::asm::nop();
+ debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
}
}