diff options
Diffstat (limited to 'examples/types.rs')
-rw-r--r-- | examples/types.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/types.rs b/examples/types.rs index e14ab0c8..5233f868 100644 --- a/examples/types.rs +++ b/examples/types.rs @@ -32,7 +32,9 @@ const APP: () = { let _: idle::Schedule = cx.schedule; let _: idle::Spawn = cx.spawn; - loop {} + loop { + cortex_m::asm::nop(); + } } #[task(binds = UART0, resources = [shared], schedule = [foo], spawn = [foo])] |