Merge branch 'master' into schedule_regression

This commit is contained in:
Emil Fresk 2020-09-24 21:05:54 +02:00
commit 21d4c15463

View file

@ -77,6 +77,9 @@ references that are safe to access.
The example below shows that `idle` runs after `init`. The example below shows that `idle` runs after `init`.
**Note:** The `loop {}` in idle cannot be empty as this will crash the microcontroller due to a bug
in LLVM which miss-optimizes empty loops to a `UDF` instruction in release mode.
``` rust ``` rust
{{#include ../../../../examples/idle.rs}} {{#include ../../../../examples/idle.rs}}
``` ```