diff options
Diffstat (limited to 'common/charge_ramp.c')
-rw-r--r-- | common/charge_ramp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/charge_ramp.c b/common/charge_ramp.c index e5f6d99e26..775093f837 100644 --- a/common/charge_ramp.c +++ b/common/charge_ramp.c @@ -319,7 +319,8 @@ void chg_ramp_task(void) active_icl = active_icl_new; /* Set the input current limit */ - board_set_charge_limit(chg_ramp_get_current_limit()); + board_set_charge_limit(active_port, active_sup, + chg_ramp_get_current_limit()); if (ramp_st == CHG_RAMP_STABILIZE) /* |