summaryrefslogtreecommitdiff
path: root/board/pdeval-stm32f072/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pdeval-stm32f072/board.c')
-rw-r--r--board/pdeval-stm32f072/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pdeval-stm32f072/board.c b/board/pdeval-stm32f072/board.c
index d9462f4e1d..93f3f87082 100644
--- a/board/pdeval-stm32f072/board.c
+++ b/board/pdeval-stm32f072/board.c
@@ -57,7 +57,7 @@ const struct i2c_port_t i2c_ports[] = {
};
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
-const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_COUNT] = {
+const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
{
.bus_type = EC_BUS_TYPE_I2C,
.i2c_info = {