summaryrefslogtreecommitdiff
path: root/common/charger_bq24725.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/charger_bq24725.c')
-rw-r--r--common/charger_bq24725.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/charger_bq24725.c b/common/charger_bq24725.c
index a0d297a996..d69b3edf13 100644
--- a/common/charger_bq24725.c
+++ b/common/charger_bq24725.c
@@ -15,8 +15,8 @@
/* Sense resistor configurations and macros */
#define DEFAULT_SENSE_RESISTOR 10
-#define R_SNS CONFIG_BQ24725_R_SNS
-#define R_AC CONFIG_BQ24725_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)