From d039c33d95cf2bf690c0a649d70bec190458597c Mon Sep 17 00:00:00 2001 From: Bart Massey Date: Mon, 29 Jul 2024 01:49:06 -0700 Subject: [PATCH] fixed a couple of bad typos/nits --- mdbook/src/05-hello-world/portability.md | 2 +- mdbook/src/05-hello-world/toggle-it.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/mdbook/src/05-hello-world/portability.md b/mdbook/src/05-hello-world/portability.md index 2658526..bb15547 100644 --- a/mdbook/src/05-hello-world/portability.md +++ b/mdbook/src/05-hello-world/portability.md @@ -3,7 +3,7 @@ (This section is optional. Feel free to skip to the [next section], where we clean our code up a bit and call it a day.) -[next section]: board-support.html +[next section]: board-support-crate.html You may wonder whether all this fancy ecosystem is worth its weight. The setup for our blinky is pretty fancy, and uses a lot of Rust crates and features for such a simple job. diff --git a/mdbook/src/05-hello-world/toggle-it.md b/mdbook/src/05-hello-world/toggle-it.md index 01586ce..5f92a42 100644 --- a/mdbook/src/05-hello-world/toggle-it.md +++ b/mdbook/src/05-hello-world/toggle-it.md @@ -7,6 +7,7 @@ blink the next LED over, while leaving the original LED on. That is an easy chan ```rust {{#include examples/fast-blink.rs}} +``` The `embedded-hal` crate is being used here to provide the Rust traits needed to set and unset the LED. This means that this part of the code is portable to any Rust HAL that implements the