aboutsummaryrefslogtreecommitdiff
path: root/examples/hardware.rs
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2023-01-08 19:56:47 +0100
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2023-03-01 00:33:28 +0100
commit35c97b61c17a30de675eb1c7f852a100b200a0c2 (patch)
treea4228d68aeab2f5aa32b26649e5664d20adfa729 /examples/hardware.rs
parentceaf3613d3256f60b139a4f93220e3c298603b83 (diff)
downloadrtic-35c97b61c17a30de675eb1c7f852a100b200a0c2.tar.gz
rtic-35c97b61c17a30de675eb1c7f852a100b200a0c2.tar.zst
rtic-35c97b61c17a30de675eb1c7f852a100b200a0c2.zip
All examples pass with `cargo xtask --target all`
Diffstat (limited to 'examples/hardware.rs')
-rw-r--r--examples/hardware.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/hardware.rs b/examples/hardware.rs
index d3ceab9e..61eb6357 100644
--- a/examples/hardware.rs
+++ b/examples/hardware.rs
@@ -37,10 +37,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
}
}