forked from len0rd/rockbox
No need to have this variable for targets that don't use it
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15534 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6e8ee408bf
commit
da8f854d61
1 changed files with 4 additions and 0 deletions
|
|
@ -240,7 +240,11 @@ static unsigned int battery_millivolts;/* filtered battery voltage, millivolts *
|
||||||
/* battery level (0-100%) of this minute, updated once per minute */
|
/* battery level (0-100%) of this minute, updated once per minute */
|
||||||
static int battery_percent = -1;
|
static int battery_percent = -1;
|
||||||
static int battery_capacity = BATTERY_CAPACITY_DEFAULT; /* default value, mAh */
|
static int battery_capacity = BATTERY_CAPACITY_DEFAULT; /* default value, mAh */
|
||||||
|
#if BATTERY_TYPES_COUNT > 1
|
||||||
static int battery_type = 0;
|
static int battery_type = 0;
|
||||||
|
#else
|
||||||
|
#define battery_type 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Power history: power_history[0] is the newest sample */
|
/* Power history: power_history[0] is the newest sample */
|
||||||
unsigned short power_history[POWER_HISTORY_LEN];
|
unsigned short power_history[POWER_HISTORY_LEN];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue