summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index f71eb45430..3fc216080b 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -435,7 +435,7 @@ bool query_force_shutdown(void)
435#endif 435#endif
436} 436}
437 437
438#ifdef HAVE_BATTERY_SWITCH 438#if defined(HAVE_BATTERY_SWITCH) || defined(HAVE_RESET_BATTERY_FILTER)
439/* 439/*
440 * Reset the battery voltage filter to a new value and update the 440 * Reset the battery voltage filter to a new value and update the
441 * status. 441 * status.