Skip to content

Commit 0988ff5

Browse files
committed
power: Fix position of PD ports on Framework 16
framework_tool --pdports Fixes: #221 Signed-off-by: Daniel Schaefer <[email protected]>
1 parent 3d7ecd1 commit 0988ff5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

framework_lib/src/power.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -731,19 +731,19 @@ pub fn get_and_print_pd_info(ec: &CrosEc) {
731731
port,
732732
match port {
733733
0 => "Right Back",
734-
1 => "Right Front",
735-
2 =>
734+
1 =>
736735
if fl16 {
737-
"Left Middle"
736+
"Right Middle"
738737
} else {
739-
"Left Front"
738+
"Right Front"
740739
},
741-
3 =>
740+
2 =>
742741
if fl16 {
743742
"Left Middle"
744743
} else {
745-
"Left Back"
744+
"Left Front"
746745
},
746+
3 => "Left Back",
747747
_ => "??",
748748
}
749749
);

0 commit comments

Comments
 (0)