Skip to content

Commit 0b648b8

Browse files
committed
chromium_ec: Derive more Debug
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 14ca5ad commit 0b648b8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

framework_lib/src/chromium_ec/commands.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ pub const BOARD_VERSION_15: u8 = 15;
313313
pub struct EcRequestExpansionBayStatus {}
314314

315315
#[repr(C, packed)]
316-
#[derive(Clone, Copy, PartialEq, Eq)]
316+
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
317317
pub struct EcResponseExpansionBayStatus {
318318
pub state: u8,
319319
pub board_id_0: u8,

framework_lib/src/chromium_ec/input_deck.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ impl From<u8> for InputDeckState {
130130
}
131131
}
132132

133-
#[derive(Clone, PartialEq, Eq)]
133+
#[derive(Clone, PartialEq, Eq, Debug)]
134134
pub struct InputDeckStatus {
135135
pub state: InputDeckState,
136136
pub hubboard_present: bool,
@@ -197,7 +197,7 @@ impl From<EcResponseDeckState> for InputDeckStatus {
197197
}
198198
}
199199

200-
#[derive(Clone, PartialEq, Eq)]
200+
#[derive(Clone, PartialEq, Eq, Debug)]
201201
pub struct TopRowPositions {
202202
/// C1 all the way left
203203
/// B1 all the way left

0 commit comments

Comments
 (0)