diff options
Diffstat (limited to 'board/cherry/board.c')
-rw-r--r-- | board/cherry/board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/cherry/board.c b/board/cherry/board.c index c2ad54acb2..2f2f242b48 100644 --- a/board/cherry/board.c +++ b/board/cherry/board.c @@ -265,8 +265,7 @@ const struct usb_mux_chain usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = { void board_set_charge_limit(int port, int supplier, int charge_ma, int max_ma, int charge_mv) { - charge_set_input_current_limit( - MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT), charge_mv); + charge_set_input_current_limit(charge_ma, charge_mv); } /* Initialize board. */ |