diff options
Diffstat (limited to 'apps/status.c')
-rw-r--r-- | apps/status.c | 12 |
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 | ||
36 | static enum playmode current_mode = STATUS_STOP; | 36 | static enum playmode current_mode = STATUS_STOP; |
37 | 37 | ||
38 | long switch_tick; | 38 | #if defined(HAVE_LCD_CHARCELLS) || defined(HAVE_CHARGE_CTRL) |
39 | int battery_charge_step = 0; | 39 | static long switch_tick; |
40 | #ifdef HAVE_LCD_BITMAP | 40 | static int battery_charge_step = 0; |
41 | bool plug_state; | 41 | #ifdef HAVE_CHARGE_CTRL |
42 | bool battery_state; | 42 | static bool plug_state; |
43 | static bool battery_state; | ||
44 | #endif | ||
43 | #endif | 45 | #endif |
44 | 46 | ||
45 | void status_init(void) | 47 | void status_init(void) |