diff options
Diffstat (limited to 'driver/bc12/max14637.c')
-rw-r--r-- | driver/bc12/max14637.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/bc12/max14637.c b/driver/bc12/max14637.c index 26156480be..ca06b26aeb 100644 --- a/driver/bc12/max14637.c +++ b/driver/bc12/max14637.c @@ -152,7 +152,7 @@ void usb_charger_task(void *u) const int port = (intptr_t)u; uint32_t evt; - ASSERT(port >= 0 && port < CONFIG_USB_PD_PORT_COUNT); + ASSERT(port >= 0 && port < CONFIG_USB_PD_PORT_MAX_COUNT); detect_or_power_down_ic(port); |