aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/by-example/app_idle.md
diff options
context:
space:
mode:
authordatdenkikniet <jcdra1@gmail.com>2023-04-23 15:33:56 +0200
committerdatdenkikniet <jcdra1@gmail.com>2023-05-11 19:20:58 +0200
commita66540efa014b3716d252612bfc7f8f17ed765c4 (patch)
tree5efe4cf769b9941c5ce387649ee8ed15470ca507 /book/en/src/by-example/app_idle.md
parent0807aa548c865d12746ce17aa1c17f7968b139a9 (diff)
Disable the playground on all of these
Diffstat (limited to 'book/en/src/by-example/app_idle.md')
-rw-r--r--book/en/src/by-example/app_idle.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/book/en/src/by-example/app_idle.md b/book/en/src/by-example/app_idle.md
index cbfd7ba..c0b4139 100644
--- a/book/en/src/by-example/app_idle.md
+++ b/book/en/src/by-example/app_idle.md
@@ -11,7 +11,7 @@ Like in `init`, locally declared resources will have `'static` lifetimes that ar
The example below shows that `idle` runs after `init`.
-``` rust
+``` rust,noplayground
{{#include ../../../../rtic/examples/idle.rs}}
```
@@ -38,7 +38,7 @@ The following example shows how to enable sleep by setting the
[WFI]: https://developer.arm.com/documentation/dui0662/b/The-Cortex-M0--Instruction-Set/Miscellaneous-instructions/WFI
[NOP]: https://developer.arm.com/documentation/dui0662/b/The-Cortex-M0--Instruction-Set/Miscellaneous-instructions/NOP
-``` rust
+``` rust,noplayground
{{#include ../../../../rtic/examples/idle-wfi.rs}}
```