Skip to content

Commit 6867bb1

Browse files
authored
Merge pull request #465 from FrameworkComputer/hx30_debug_card
[fix] fix type-c debug card for port3
2 parents 49ffca5 + 13c9f7d commit 6867bb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

board/hx30/cypress5525.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ void cypd_update_port_state(int controller, int port)
898898

899899
/*Todo make this better to enable debug accessory mode */
900900
if (pd_port_states[0].c_state == CYPD_STATUS_DEBUG ||
901-
pd_port_states[1].c_state == CYPD_STATUS_DEBUG ) {
901+
pd_port_states[3].c_state == CYPD_STATUS_DEBUG) {
902902
gpio_set_level(GPIO_MUX_SBU_UART_FLIP, 1);
903903
} else {
904904
gpio_set_level(GPIO_MUX_SBU_UART_FLIP, 0);

0 commit comments

Comments
 (0)