diff options
Diffstat (limited to 'common/charger_bq24707a.c')
-rw-r--r-- | common/charger_bq24707a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/charger_bq24707a.c b/common/charger_bq24707a.c index 35ca469ed1..9538318997 100644 --- a/common/charger_bq24707a.c +++ b/common/charger_bq24707a.c @@ -16,8 +16,8 @@ /* Sense resistor configurations and macros */ #define DEFAULT_SENSE_RESISTOR 10 -#define R_SNS CONFIG_BQ24707A_R_SNS -#define R_AC CONFIG_BQ24707A_R_AC +#define R_SNS CONFIG_CHARGER_SENSE_RESISTOR +#define R_AC CONFIG_CHARGER_SENSE_RESISTOR_AC #define REG_TO_CURRENT(REG, RS) ((REG) * DEFAULT_SENSE_RESISTOR / (RS)) #define CURRENT_TO_REG(CUR, RS) ((CUR) * (RS) / DEFAULT_SENSE_RESISTOR) |