summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/settings_menu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 7150dd2..34f7a99 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -1185,6 +1185,10 @@ static bool battery_settings_menu(void)
#endif
#ifndef SIMULATOR
{ STR(LANG_BATTERY_CAPACITY), battery_capacity },
+#else
+#ifndef HAVE_CHARGE_CTRL
+ { "Dummy", -1, NULL }, /* to have an entry at all, in the simulator */
+#endif
#endif
};