Skip to content

Commit

Permalink
chromium_ec: Derive more Debug
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Schaefer <[email protected]>
  • Loading branch information
JohnAZoidberg committed Nov 14, 2023
1 parent 14ca5ad commit 0b648b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion framework_lib/src/chromium_ec/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ pub const BOARD_VERSION_15: u8 = 15;
pub struct EcRequestExpansionBayStatus {}

#[repr(C, packed)]
#[derive(Clone, Copy, PartialEq, Eq)]
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
pub struct EcResponseExpansionBayStatus {
pub state: u8,
pub board_id_0: u8,
Expand Down
4 changes: 2 additions & 2 deletions framework_lib/src/chromium_ec/input_deck.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ impl From<u8> for InputDeckState {
}
}

#[derive(Clone, PartialEq, Eq)]
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct InputDeckStatus {
pub state: InputDeckState,
pub hubboard_present: bool,
Expand Down Expand Up @@ -197,7 +197,7 @@ impl From<EcResponseDeckState> for InputDeckStatus {
}
}

#[derive(Clone, PartialEq, Eq)]
#[derive(Clone, PartialEq, Eq, Debug)]
pub struct TopRowPositions {
/// C1 all the way left
/// B1 all the way left
Expand Down

0 comments on commit 0b648b8

Please sign in to comment.