summaryrefslogtreecommitdiff
path: root/board/beadrix/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/beadrix/board.c')
-rw-r--r--board/beadrix/board.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/board/beadrix/board.c b/board/beadrix/board.c
index 5cea32f90c..14467a66a1 100644
--- a/board/beadrix/board.c
+++ b/board/beadrix/board.c
@@ -478,13 +478,11 @@ 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);
-
/*
* TODO(b/151955431): Characterize the input current limit in case a
* scaling needs to be applied here
*/
- charge_set_input_current_limit(icl, charge_mv);
+ charge_set_input_current_limit(charge_ma, charge_mv);
}
__override void typec_set_source_current_limit(int port, enum tcpc_rp_value rp)