diff options
Diffstat (limited to 'common/charger_bq24738.c')
-rw-r--r-- | common/charger_bq24738.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/charger_bq24738.c b/common/charger_bq24738.c index 7fc8501fce..eaea6495d9 100644 --- a/common/charger_bq24738.c +++ b/common/charger_bq24738.c @@ -15,8 +15,8 @@ /* Sense resistor configurations and macros */ #define DEFAULT_SENSE_RESISTOR 10 -#define R_SNS CONFIG_BQ24738_R_SNS -#define R_AC CONFIG_BQ24738_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) |