aboutsummaryrefslogtreecommitdiff
path: root/examples/cfg.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cfg.rs')
-rw-r--r--examples/cfg.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/cfg.rs b/examples/cfg.rs
index 02b39e34..8eeeb2a9 100644
--- a/examples/cfg.rs
+++ b/examples/cfg.rs
@@ -28,7 +28,9 @@ const APP: () = {
fn idle(_: idle::Context) -> ! {
debug::exit(debug::EXIT_SUCCESS);
- loop {}
+ loop {
+ cortex_m::asm::nop();
+ }
}
#[task(capacity = 2, resources = [count], spawn = [log])]