From debd7658b7dbd51c42deb25474d09479cf4fa597 Mon Sep 17 00:00:00 2001 From: Mirabellensaft Date: Mon, 20 Mar 2023 15:17:43 +0100 Subject: [PATCH] rm led color comment --- down-the-stack/dk_bsc/src/lib_solution.rs | 8 ++++---- embedded-workshop-book/src/button-implementation.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/down-the-stack/dk_bsc/src/lib_solution.rs b/down-the-stack/dk_bsc/src/lib_solution.rs index 8bd5576..9fd2940 100644 --- a/down-the-stack/dk_bsc/src/lib_solution.rs +++ b/down-the-stack/dk_bsc/src/lib_solution.rs @@ -106,13 +106,13 @@ impl Led { // 🔽 --- Button Exercise --- 🔽 /// All buttons on the board pub struct Buttons { - /// BUTTON1: pin P0.11, green LED + /// BUTTON1: pin P0.11 pub b_1: Button, - /// BUTTON2: pin P0.12, green LED + /// BUTTON2: pin P0.12 pub b_2: Button, - /// BUTTON3: pin P0.24, green LED + /// BUTTON3: pin P0.24 pub b_3: Button, - /// BUTTON4: pin P0.25, green LED + /// BUTTON4: pin P0.25 pub b_4: Button, } diff --git a/embedded-workshop-book/src/button-implementation.md b/embedded-workshop-book/src/button-implementation.md index 469ceae..814aca9 100644 --- a/embedded-workshop-book/src/button-implementation.md +++ b/embedded-workshop-book/src/button-implementation.md @@ -25,13 +25,13 @@ Building this code should return a warning: field `inner` is never read. ```rust /// All buttons on the board pub struct Buttons { - /// BUTTON1: pin P0.11, green LED + /// BUTTON1: pin P0.11 pub b_1: Button, - /// BUTTON2: pin P0.12, green LED + /// BUTTON2: pin P0.12 pub b_2: Button, - /// BUTTON3: pin P0.24, green LED + /// BUTTON3: pin P0.24 pub b_3: Button, - /// BUTTON4: pin P0.25, green LED + /// BUTTON4: pin P0.25 pub b_4: Button, }