diff options
-rw-r--r-- | baseboard/kukui/charger_mt6370.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/kukui/charger_mt6370.c b/baseboard/kukui/charger_mt6370.c index 49e815c613..5e78a100c5 100644 --- a/baseboard/kukui/charger_mt6370.c +++ b/baseboard/kukui/charger_mt6370.c @@ -205,7 +205,7 @@ static void battery_desired_curr_dynamic(struct charge_state_data *curr) supply_voltage = charge_manager_get_charger_voltage(); stable_current = charge_get_stable_current(); - if (stable_current == CHARGE_CURRENT_UNINITIALIZED) + if (!charge_is_current_stable()) return; if (!prev_supply_voltage) |