Skip to content

Commit 7ac74b0

Browse files
committed
Print AudioBoardID ADC value
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent dfada5f commit 7ac74b0

File tree

1 file changed

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

1 file changed

+1
-0
lines changed

framework_lib/src/chromium_ec/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,7 @@ impl CrosEc {
599599
} else {
600600
is_present(false).to_string()
601601
});
602+
println!(" ADC Value: {:?}", self.adc_read(Framework13Adc::AudioBoardId as u8));
602603
println!(" Touchpad: {}", is_present(tp.is_some()));
603604

604605
Ok(())

0 commit comments

Comments
 (0)