@@ -510,7 +510,7 @@ impl CrosEc {
510
510
let is_present = |p| if p { "Present" } else { "Missing" } ;
511
511
512
512
println ! ( "Input Deck" ) ;
513
- println ! ( " Chassis Closed: {}" , intrusion. currently_open) ;
513
+ println ! ( " Chassis Closed: {}" , ! intrusion. currently_open) ;
514
514
println ! ( " Power Button Board: {}" , is_present( pwrbtn. is_some( ) ) ) ;
515
515
println ! ( " Audio Daughterboard: {}" , is_present( audio. is_some( ) ) ) ;
516
516
println ! ( " Touchpad: {}" , is_present( tp. is_some( ) ) ) ;
@@ -538,7 +538,7 @@ impl CrosEc {
538
538
let is_present = |p| if p { "Present" } else { "Missing" } ;
539
539
540
540
println ! ( "Input Deck" ) ;
541
- println ! ( " Chassis Closed: {}" , intrusion. currently_open) ;
541
+ println ! ( " Chassis Closed: {}" , ! intrusion. currently_open) ;
542
542
println ! ( " Audio Daughterboard: {}" , is_present( audio. is_some( ) ) ) ;
543
543
println ! ( " Touchpad: {}" , is_present( tp. is_some( ) ) ) ;
544
544
@@ -548,7 +548,7 @@ impl CrosEc {
548
548
pub fn print_fw16_inputdeck_status ( & self ) -> EcResult < ( ) > {
549
549
let intrusion = self . get_intrusion_status ( ) ?;
550
550
let status = self . get_input_deck_status ( ) ?;
551
- println ! ( "Chassis Closed: {}" , intrusion. currently_open) ;
551
+ println ! ( "Chassis Closed: {}" , ! intrusion. currently_open) ;
552
552
println ! ( "Input Deck State: {:?}" , status. state) ;
553
553
println ! ( "Touchpad present: {}" , status. touchpad_present) ;
554
554
println ! ( "Positions:" ) ;
0 commit comments