Skip to content

Commit 13c9f7d

Browse files
committed
[fix] fix type-c debug card for port3
Signed-off-by: Leo_Tsai <LeoCX_Tsai@compal.com>
1 parent b790da9 commit 13c9f7d

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
@@ -888,7 +888,7 @@ void cypd_update_port_state(int controller, int port)
888888

889889
/*Todo make this better to enable debug accessory mode */
890890
if (pd_port_states[0].c_state == CYPD_STATUS_DEBUG ||
891-
pd_port_states[1].c_state == CYPD_STATUS_DEBUG ) {
891+
pd_port_states[3].c_state == CYPD_STATUS_DEBUG) {
892892
gpio_set_level(GPIO_MUX_SBU_UART_FLIP, 1);
893893
} else {
894894
gpio_set_level(GPIO_MUX_SBU_UART_FLIP, 0);

0 commit comments

Comments
 (0)