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 269e959 commit dfada5fCopy full SHA for dfada5f
framework_lib/src/chromium_ec/mod.rs
@@ -594,7 +594,11 @@ impl CrosEc {
594
595
println!("Input Deck");
596
println!(" Chassis Closed: {}", !intrusion.currently_open);
597
- println!(" Audio Daughterboard: {}", is_present(audio.is_some()));
+ println!(" Audio Daughterboard: {}", if let Some(audio) = audio {
598
+ format!("{} ({})", is_present(true), audio)
599
+ } else {
600
+ is_present(false).to_string()
601
+ });
602
println!(" Touchpad: {}", is_present(tp.is_some()));
603
604
Ok(())
0 commit comments