Various minor clean-ups for Zen Vision

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27636 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2010-07-31 12:43:38 +00:00
parent c2529c341d
commit 4a8ea6c9d9
6 changed files with 14 additions and 12 deletions

View file

@ -26,7 +26,7 @@
/* THIS CONTAINS CURRENTLY DUMMY CODE! */
unsigned short current_voltage = 3910;
static const unsigned short current_voltage = 3910;
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
{
0
@ -48,9 +48,6 @@ const unsigned short percent_to_volt_charge[11] =
{
100, 300, 400, 500, 600, 700, 800, 900, 1000, 1200, 1320,
};
void read_battery_inputs(void)
{
}
/* Returns battery voltage from ADC [millivolts] */
unsigned int battery_adc_voltage(void)