summaryrefslogtreecommitdiff
path: root/apps/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/status.c')
-rw-r--r--apps/status.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/apps/status.c b/apps/status.c
index 20e672d8dc..91379bba2b 100644
--- a/apps/status.c
+++ b/apps/status.c
@@ -35,11 +35,13 @@
35 35
36static enum playmode current_mode = STATUS_STOP; 36static enum playmode current_mode = STATUS_STOP;
37 37
38long switch_tick; 38#if defined(HAVE_LCD_CHARCELLS) || defined(HAVE_CHARGE_CTRL)
39int battery_charge_step = 0; 39static long switch_tick;
40#ifdef HAVE_LCD_BITMAP 40static int battery_charge_step = 0;
41bool plug_state; 41#ifdef HAVE_CHARGE_CTRL
42bool battery_state; 42static bool plug_state;
43static bool battery_state;
44#endif
43#endif 45#endif
44 46
45void status_init(void) 47void status_init(void)