summaryrefslogtreecommitdiff
path: root/common/charge_state_v2.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/charge_state_v2.c')
-rw-r--r--common/charge_state_v2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/charge_state_v2.c b/common/charge_state_v2.c
index e5f62fff60..f293c61175 100644
--- a/common/charge_state_v2.c
+++ b/common/charge_state_v2.c
@@ -1280,7 +1280,7 @@ static void show_charging_progress(void)
}
/* Calculate if battery is full based on whether it is accepting charge */
-static int calc_is_full(void)
+test_mockable int calc_is_full(void)
{
static int __bss_slow ret;