diff options
Diffstat (limited to 'examples/t-cfg.rs')
-rw-r--r-- | examples/t-cfg.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/t-cfg.rs b/examples/t-cfg.rs index 52e6d1c9..b6c9e472 100644 --- a/examples/t-cfg.rs +++ b/examples/t-cfg.rs @@ -24,7 +24,9 @@ const APP: () = { #[cfg(never)] static mut BAR: u32 = 0; - loop {} + loop { + cortex_m::asm::nop(); + } } #[task(resources = [foo], schedule = [quux], spawn = [quux])] |