Skip to content

Commit 385ba52

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

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

framework_lib/src/chromium_ec/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,10 @@ impl CrosEc {
602602
is_present(false).to_string()
603603
}
604604
);
605+
println!(
606+
" ADC Value (mV) {:?}",
607+
self.adc_read(Framework13Adc::AudioBoardId as u8)
608+
);
605609
println!(" Touchpad: {}", is_present(tp.is_some()));
606610

607611
Ok(())

0 commit comments

Comments
 (0)