aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Emil Fresk <emil.fresk@gmail.com> 2020-09-24 21:05:54 +0200
committerGravatar Emil Fresk <emil.fresk@gmail.com> 2020-09-24 21:05:54 +0200
commit21d4c154633ddae11face93e24437eecdc2c0f42 (patch)
tree307250c0468de936fdaea57d8f38aadb1473f83a
parent72ba18b0e84eab9dc20d75a5075ba239464d8bdb (diff)
parent9a33457c82ddc5a7c1243dfc784d818e60e34023 (diff)
downloadrtic-21d4c154633ddae11face93e24437eecdc2c0f42.tar.gz
rtic-21d4c154633ddae11face93e24437eecdc2c0f42.tar.zst
rtic-21d4c154633ddae11face93e24437eecdc2c0f42.zip
Merge branch 'master' into schedule_regression
-rw-r--r--book/en/src/by-example/app.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/book/en/src/by-example/app.md b/book/en/src/by-example/app.md
index e0f4f941..9a073ac4 100644
--- a/book/en/src/by-example/app.md
+++ b/book/en/src/by-example/app.md
@@ -77,6 +77,9 @@ references that are safe to access.
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
{{#include ../../../../examples/idle.rs}}
```