1
0
Fork 0
forked from len0rd/rockbox

Killed a dozen global variables

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3015 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2002-12-18 14:57:45 +00:00
parent 34fa62b300
commit c3fd67c6c9
9 changed files with 27 additions and 22 deletions

View file

@ -35,11 +35,13 @@
static enum playmode current_mode = STATUS_STOP;
long switch_tick;
int battery_charge_step = 0;
#ifdef HAVE_LCD_BITMAP
bool plug_state;
bool battery_state;
#if defined(HAVE_LCD_CHARCELLS) || defined(HAVE_CHARGE_CTRL)
static long switch_tick;
static int battery_charge_step = 0;
#ifdef HAVE_CHARGE_CTRL
static bool plug_state;
static bool battery_state;
#endif
#endif
void status_init(void)