Skip to content

Commit 8cd99d9

Browse files
committed
inputdeck: Add chassis open state to Framework 16
1 parent ce17b06 commit 8cd99d9

File tree

1 file changed

+3
-1
lines changed
  • framework_lib/src/chromium_ec

1 file changed

+3
-1
lines changed

framework_lib/src/chromium_ec/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -519,9 +519,11 @@ impl CrosEc {
519519
}
520520

521521
pub fn print_fw16_inputdeck_status(&self) -> EcResult<()> {
522+
let intrusion = self.get_intrusion_status()?;
522523
let status = self.get_input_deck_status()?;
524+
println!("Chassis Open: {}", intrusion.currently_open);
523525
println!("Input Deck State: {:?}", status.state);
524-
println!("Touchpad present: {:?}", status.touchpad_present);
526+
println!("Touchpad present: {}", status.touchpad_present);
525527
println!("Positions:");
526528
println!(" Pos 0: {:?}", status.top_row.pos0);
527529
println!(" Pos 1: {:?}", status.top_row.pos1);

0 commit comments

Comments
 (0)