aboutsummaryrefslogtreecommitdiff
path: root/examples/extern_binds.rs
diff options
context:
space:
mode:
authorEmil Fresk <emil.fresk@gmail.com>2023-01-08 19:56:47 +0100
committerHenrik Tjäder <henrik@tjaders.com>2023-03-01 00:33:28 +0100
commit35c97b61c17a30de675eb1c7f852a100b200a0c2 (patch)
treea4228d68aeab2f5aa32b26649e5664d20adfa729 /examples/extern_binds.rs
parentceaf3613d3256f60b139a4f93220e3c298603b83 (diff)
All examples pass with `cargo xtask --target all`
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 23b99d5..b24e7a1 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
}
}