summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index 01202a9184..536a181845 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -151,7 +151,7 @@ void init(void)
powermgmt_init();
-#ifdef HAVE_BATTERIES
+#ifdef HAVE_CHARGING
if (coldstart && charger_inserted() && !global_settings.car_adapter_mode)
{
rc = charging_screen(); /* display a "charging" screen */