Skip to content

Commit

Permalink
LEDs: Implement Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Aug 24, 2024
1 parent 24105fe commit de38df1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/led.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<const I: u8>(());

/// The indicated LED is not present on the current board.
Expand Down

0 comments on commit de38df1

Please sign in to comment.