aboutsummaryrefslogtreecommitdiff
path: root/examples/peripherals-taken.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/peripherals-taken.rs')
-rw-r--r--examples/peripherals-taken.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/peripherals-taken.rs b/examples/peripherals-taken.rs
index cb90319e..d542c0e6 100644
--- a/examples/peripherals-taken.rs
+++ b/examples/peripherals-taken.rs
@@ -18,7 +18,7 @@ mod app {
#[init]
fn init(_: init::Context) -> (Shared, Local, init::Monotonics) {
assert!(cortex_m::Peripherals::take().is_none());
- debug::exit(debug::EXIT_SUCCESS);
+ debug::exit(debug::EXIT_SUCCESS); // Exit QEMU simulator
(Shared {}, Local {}, init::Monotonics())
}