mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
Remove BATTERY_TYPES
Change-Id: I4fa03a10d0032fd6f92722bbe1d4b7eec0b95cb4
This commit is contained in:
parent
fb115e5bdb
commit
4f3bbeaffc
175 changed files with 432 additions and 951 deletions
|
|
@ -24,20 +24,14 @@
|
|||
/* The battery manufacturer's website shows discharge curves down to 3.0V,
|
||||
so 'disksafe' and 'shutoff' levels of 3.4V and 3.3V should be safe.
|
||||
*/
|
||||
unsigned short battery_level_disksafe[BATTERY_TYPES_COUNT] =
|
||||
{
|
||||
3400
|
||||
};
|
||||
unsigned short battery_level_disksafe = 3400;
|
||||
|
||||
unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
|
||||
{
|
||||
3300
|
||||
};
|
||||
unsigned short battery_level_shutoff = 3300;
|
||||
|
||||
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
|
||||
unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
|
||||
unsigned short percent_to_volt_discharge[11] =
|
||||
{
|
||||
{ 3300, 3653, 3701, 3735, 3768, 3790, 3833, 3900, 3966, 4056, 4140 }
|
||||
3300, 3653, 3701, 3735, 3768, 3790, 3833, 3900, 3966, 4056, 4140
|
||||
};
|
||||
|
||||
#if CONFIG_CHARGING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue