File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
framework_lib/src/chromium_ec Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -363,8 +363,12 @@ Input Deck
363363> framework_tool --inputdeck
364364Input Deck
365365 Chassis Closed: true
366- Audio Daughterboard: Present
367- Touchpad: Present
366+ Audio Daughterboard: Present (7)
367+ ADC Value 1056mV
368+ Touchpad: Present (7)
369+ ADC Value 1042mV
370+ Deck State: On
371+ Touchpad present: true
368372```
369373
370374### On Framework 16
Original file line number Diff line number Diff line change @@ -710,11 +710,6 @@ impl CrosEc {
710710 println ! ( "Input Deck" ) ;
711711 println ! ( " Chassis Closed: {}" , !intrusion. currently_open) ;
712712
713- if let Ok ( status) = self . get_input_deck_status ( ) {
714- println ! ( " Deck State: {:?}" , status. state) ;
715- println ! ( " Touchpad present: {}" , status. touchpad_present) ;
716- }
717-
718713 println ! (
719714 " Audio Daughterboard: {}" ,
720715 if let Some ( audio) = audio {
@@ -738,6 +733,11 @@ impl CrosEc {
738733 println ! ( " ADC Value {:04}mV" , adc) ;
739734 }
740735
736+ if let Ok ( status) = self . get_input_deck_status ( ) {
737+ println ! ( " Deck State: {:?}" , status. state) ;
738+ println ! ( " Touchpad present: {}" , status. touchpad_present) ;
739+ }
740+
741741 Ok ( ( ) )
742742 }
743743
You can’t perform that action at this time.
0 commit comments