From c1932fceb69d5068e20f4c1fcbc5fc87580c9da6 Mon Sep 17 00:00:00 2001 From: Mirabellensaft Date: Mon, 19 Apr 2021 14:36:01 +0200 Subject: [PATCH] clarify rtic-expansion output --- embedded-workshop-book/src/rtic-hello.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embedded-workshop-book/src/rtic-hello.md b/embedded-workshop-book/src/rtic-hello.md index ec14358..26d2a7a 100644 --- a/embedded-workshop-book/src/rtic-hello.md +++ b/embedded-workshop-book/src/rtic-hello.md @@ -12,7 +12,7 @@ RTIC makes a clearer distinction between the application's initialization phase, ✅ Build the `rtic-hello` example and look at the generated `rtic-expansion.rs` file. -The generated code should look like this. Note that interrupts are disabled during the execution of the `init` function: +You can use `rustfmt` on `target/rtic-expansion.rs` to make the generated code easier to read. Among other things, the file should contain the following lines. Note that interrupts are disabled during the execution of the `init` function: ``` rust fn main() -> ! {