aboutsummaryrefslogtreecommitdiff
path: root/examples/idle.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/idle.rs')
-rw-r--r--examples/idle.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/idle.rs b/examples/idle.rs
index c09af922..3d28dac8 100644
--- a/examples/idle.rs
+++ b/examples/idle.rs
@@ -26,6 +26,8 @@ const APP: () = {
debug::exit(debug::EXIT_SUCCESS);
- loop {}
+ loop {
+ cortex_m::asm::nop();
+ }
}
};