Skip to content

Commit 26d6eca

Browse files
committed
--pd-info: Print 3rd pd info
``` > framework_tool --pd-info [...] Back Silicon ID: 0x???? Mode: MainFw Flash Row Size: 256 B Bootloader Version: Base: 3.6.0.009, App: 0.0.01 FW1 (Backup) Version: Base: 3.7.0.197, App: 0.0.0D FW2 (Main) Version: Base: 3.7.0.197, App: 0.0.0D ``` Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent c8494e4 commit 26d6eca

File tree

1 file changed

+3
-0
lines changed
  • framework_lib/src/commandline

1 file changed

+3
-0
lines changed

framework_lib/src/commandline/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,11 +234,14 @@ fn print_pd_details(ec: &CrosEc) {
234234
}
235235
let pd_01 = PdController::new(PdPort::Left01, ec.clone());
236236
let pd_23 = PdController::new(PdPort::Right23, ec.clone());
237+
let pd_back = PdController::new(PdPort::Back, ec.clone());
237238

238239
println!("Left / Ports 01");
239240
print_single_pd_details(&pd_01);
240241
println!("Right / Ports 23");
241242
print_single_pd_details(&pd_23);
243+
println!("Back");
244+
print_single_pd_details(&pd_back);
242245
}
243246

244247
#[cfg(feature = "hidapi")]

0 commit comments

Comments
 (0)