summaryrefslogtreecommitdiff
path: root/board/meep/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/meep/board.c')
-rw-r--r--board/meep/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/meep/board.c b/board/meep/board.c
index c62065e58b..200909dca0 100644
--- a/board/meep/board.c
+++ b/board/meep/board.c
@@ -303,7 +303,7 @@ const int keyboard_factory_scan_pins_used =
void board_overcurrent_event(int port, int is_overcurrented)
{
/* Sanity check the port. */
- if ((port < 0) || (port >= CONFIG_USB_PD_PORT_COUNT))
+ if ((port < 0) || (port >= CONFIG_USB_PD_PORT_MAX_COUNT))
return;
/* Note that the level is inverted because the pin is active low. */