diff options
Diffstat (limited to 'include/charge_state_v2.h')
-rw-r--r-- | include/charge_state_v2.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/charge_state_v2.h b/include/charge_state_v2.h index 6d0b936f4a..0817204774 100644 --- a/include/charge_state_v2.h +++ b/include/charge_state_v2.h @@ -3,6 +3,8 @@ * found in the LICENSE file. */ +#include <stdbool.h> + #include "battery.h" #include "battery_smart.h" #include "charger.h" @@ -11,8 +13,6 @@ #include "ocpc.h" #include "timer.h" -#include <stdbool.h> - #ifndef __CROS_EC_CHARGE_STATE_V2_H #define __CROS_EC_CHARGE_STATE_V2_H @@ -71,10 +71,6 @@ 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 * time AC is applied. * - * The input current limit is automatically derated by - * CONFIG_CHARGER_INPUT_CURRENT_DERATE_PCT (if configured), and is clamped to - * no less than CONFIG_CHARGER_MIN_INPUT_CURRENT_LIMIT mA (if configured). - * * @param ma New input current limit in mA * @param mv Negotiated charge voltage in mV. * @return EC_SUCCESS or error |