From de38df196b62fbcd3b3b9625a26c944398896bfb Mon Sep 17 00:00:00 2001 From: chrysn Date: Sun, 25 Aug 2024 00:54:46 +0200 Subject: [PATCH] LEDs: Implement Debug --- src/led.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/led.rs b/src/led.rs index 9fc27f6..8e47161 100644 --- a/src/led.rs +++ b/src/led.rs @@ -7,6 +7,7 @@ use core::convert::Infallible; /// The preferred interface for turning a LED on and off is [switch_hal::OutputSwitch]. /// /// LEDs are accessible safely; any not implemented on a board are silently ignored. +#[derive(Debug)] pub struct LED(()); /// The indicated LED is not present on the current board.