From 0f0764296c0a8fa8d1f3be66378dadb77cec1bf7 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Sun, 12 Oct 2025 11:51:07 +0800 Subject: [PATCH] power: Fix position of PD ports on Framework 16 framework_tool --pdports Fixes: #221 Signed-off-by: Daniel Schaefer --- framework_lib/src/power.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/framework_lib/src/power.rs b/framework_lib/src/power.rs index 3ae05cb..f2c728a 100644 --- a/framework_lib/src/power.rs +++ b/framework_lib/src/power.rs @@ -731,19 +731,19 @@ pub fn get_and_print_pd_info(ec: &CrosEc) { port, match port { 0 => "Right Back", - 1 => "Right Front", - 2 => + 1 => if fl16 { - "Left Middle" + "Right Middle" } else { - "Left Front" + "Right Front" }, - 3 => + 2 => if fl16 { "Left Middle" } else { - "Left Back" + "Left Front" }, + 3 => "Left Back", _ => "??", } );