We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa515f2 commit 1a07179Copy full SHA for 1a07179
framework_lib/src/chromium_ec/mod.rs
@@ -594,7 +594,14 @@ impl CrosEc {
594
595
println!("Input Deck");
596
println!(" Chassis Closed: {}", !intrusion.currently_open);
597
- println!(" Audio Daughterboard: {}", is_present(audio.is_some()));
+ println!(
598
+ " Audio Daughterboard: {}",
599
+ if let Some(audio) = audio {
600
+ format!("{} ({})", is_present(true), audio)
601
+ } else {
602
+ is_present(false).to_string()
603
+ }
604
+ );
605
println!(" Touchpad: {}", is_present(tp.is_some()));
606
607
Ok(())
0 commit comments