summaryrefslogtreecommitdiff
path: root/board/poppy/battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/poppy/battery.c')
-rw-r--r--board/poppy/battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/poppy/battery.c b/board/poppy/battery.c
index 6764ae53da..63006b2bed 100644
--- a/board/poppy/battery.c
+++ b/board/poppy/battery.c
@@ -115,7 +115,7 @@ enum ec_status charger_profile_override_set_param(uint32_t param,
return EC_RES_INVALID_PARAM;
}
-static enum battery_present battery_hw_present(void)
+enum battery_present battery_hw_present(void)
{
/* The GPIO is low when the battery is physically present */
return gpio_get_level(GPIO_BATTERY_PRESENT_L) ? BP_NO : BP_YES;