summaryrefslogtreecommitdiff
path: root/common/usbc_ppc.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/usbc_ppc.c')
-rw-r--r--common/usbc_ppc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usbc_ppc.c b/common/usbc_ppc.c
index 4274443a3d..816c53d06e 100644
--- a/common/usbc_ppc.c
+++ b/common/usbc_ppc.c
@@ -26,7 +26,7 @@
* occurred. This table is cleared after detecting a physical disconnect of the
* sink.
*/
-static uint8_t oc_event_cnt_tbl[CONFIG_USB_PD_PORT_COUNT];
+static uint8_t oc_event_cnt_tbl[CONFIG_USB_PD_PORT_MAX_COUNT];
static uint32_t connected_ports;