summaryrefslogtreecommitdiff
path: root/driver/battery/smart.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver/battery/smart.c')
-rw-r--r--driver/battery/smart.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver/battery/smart.c b/driver/battery/smart.c
index cc3ef73c29..51a04d3b6b 100644
--- a/driver/battery/smart.c
+++ b/driver/battery/smart.c
@@ -398,6 +398,7 @@ void battery_get_params(struct batt_params *batt)
#ifdef HAS_TASK_HOSTCMD
/* if there is no host, we don't care about compensation */
battery_compensate_params(&batt_new);
+ board_battery_compensate_params(&batt_new);
#endif
/* Update visible battery parameters */