diff options
Diffstat (limited to 'include/charge_state_v2.h')
-rw-r--r-- | include/charge_state_v2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/charge_state_v2.h b/include/charge_state_v2.h index f5408fa253..1cff136ee8 100644 --- a/include/charge_state_v2.h +++ b/include/charge_state_v2.h @@ -55,11 +55,12 @@ struct charge_state_data { * Set the output current limit and voltage. This is used to provide power from * the charger chip ("OTG" mode). * + * @param chgnum Charger index to act upon * @param ma Maximum current to provide in mA (0 to disable output). * @param mv Voltage in mV (ignored if ma == 0). * @return EC_SUCCESS or error */ -int charge_set_output_current_limit(int ma, int mv); +int charge_set_output_current_limit(int chgnum, int ma, int mv); /** * Set the charge input current limit. This value is stored and sent every |