diff options
Diffstat (limited to 'board/nocturne/board.c')
-rw-r--r-- | board/nocturne/board.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/board/nocturne/board.c b/board/nocturne/board.c index dbe5f50b68..13fa259276 100644 --- a/board/nocturne/board.c +++ b/board/nocturne/board.c @@ -763,8 +763,7 @@ int board_set_active_charge_port(int port) void board_set_charge_limit(int port, int supplier, int charge_ma, int max_ma, int charge_mv) { - int icl = MAX(charge_ma, CONFIG_CHARGER_INPUT_CURRENT); - charge_set_input_current_limit(icl, charge_mv); + charge_set_input_current_limit(charge_ma, charge_mv); } static void board_chipset_reset(void) |