aboutsummaryrefslogtreecommitdiff
path: root/book/en/src/internals/late-resources.md
diff options
context:
space:
mode:
Diffstat (limited to 'book/en/src/internals/late-resources.md')
-rw-r--r--book/en/src/internals/late-resources.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/book/en/src/internals/late-resources.md b/book/en/src/internals/late-resources.md
index f3a0b0a..ce36756 100644
--- a/book/en/src/internals/late-resources.md
+++ b/book/en/src/internals/late-resources.md
@@ -8,7 +8,7 @@ interrupts are disabled.
The example below shows the kind of code that the framework generates to
initialize late resources.
-``` rust
+``` rust,noplayground
#[rtic::app(device = ..)]
mod app {
struct Resources {
@@ -39,7 +39,7 @@ mod app {
The code generated by the framework looks like this:
-``` rust
+``` rust,noplayground
fn init(c: init::Context) -> init::LateResources {
// .. user code ..
}