mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04: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
|
@ -20,10 +20,6 @@ alarm
|
|||
backlight_brightness
|
||||
#endif
|
||||
|
||||
#if BATTERY_TYPES_COUNT > 1
|
||||
battery_types
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_BUTTON_LIGHT)
|
||||
button_light
|
||||
#endif
|
||||
|
|
|
@ -3503,59 +3503,59 @@
|
|||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_BATTERY_TYPE
|
||||
desc: in battery settings
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
battery_types: "Battery Type"
|
||||
battery_types: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
battery_types: "Battery Type"
|
||||
battery_types: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
battery_types: "Battery type"
|
||||
battery_types: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_BATTERY_TYPE_1
|
||||
desc: in battery settings
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
battery_types: "Alkaline"
|
||||
xduoox3: "Newer (2000 mAh)"
|
||||
battery_types: ""
|
||||
xduoox3: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
battery_types: "Alkaline"
|
||||
xduoox3: "Newer (2000 mAh)"
|
||||
battery_types: ""
|
||||
xduoox3: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
battery_types: "Alkaline"
|
||||
xduoox3: "Newer 2000 milliamp hour"
|
||||
battery_types: ""
|
||||
xduoox3: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
id: LANG_BATTERY_TYPE_2
|
||||
desc: in battery settings
|
||||
desc: deprecated
|
||||
user: core
|
||||
<source>
|
||||
*: none
|
||||
battery_types: "NiMH"
|
||||
xduoox3: "Older (1500 mAh)"
|
||||
battery_types: ""
|
||||
xduoox3: ""
|
||||
</source>
|
||||
<dest>
|
||||
*: none
|
||||
battery_types: "NiMH"
|
||||
xduoox3: "Older (1500 mAh)"
|
||||
battery_types: ""
|
||||
xduoox3: ""
|
||||
</dest>
|
||||
<voice>
|
||||
*: none
|
||||
battery_types: "Nickel metal hydride"
|
||||
xduoox3: "Older 1500 milliamp hour"
|
||||
battery_types: ""
|
||||
xduoox3: ""
|
||||
</voice>
|
||||
</phrase>
|
||||
<phrase>
|
||||
|
|
|
@ -263,9 +263,7 @@ static int filemenu_callback(int action,
|
|||
#if BATTERY_CAPACITY_INC > 0
|
||||
MENUITEM_SETTING(battery_capacity, &global_settings.battery_capacity, NULL);
|
||||
#endif
|
||||
#if BATTERY_TYPES_COUNT > 1
|
||||
MENUITEM_SETTING(battery_type, &global_settings.battery_type, NULL);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_USB_CHARGING_ENABLE
|
||||
static int usbcharging_callback(int action,
|
||||
const struct menu_item_ex *this_item,
|
||||
|
@ -287,9 +285,6 @@ MAKE_MENU(battery_menu, ID2P(LANG_BATTERY_MENU), 0, Icon_NOICON,
|
|||
#if BATTERY_CAPACITY_INC > 0
|
||||
&battery_capacity,
|
||||
#endif
|
||||
#if BATTERY_TYPES_COUNT > 1
|
||||
&battery_type,
|
||||
#endif
|
||||
#ifdef HAVE_USB_CHARGING_ENABLE
|
||||
&usb_charging,
|
||||
#endif
|
||||
|
@ -430,7 +425,7 @@ MENUITEM_SETTING(governor, &global_settings.governor, NULL);
|
|||
|
||||
MAKE_MENU(system_menu, ID2P(LANG_SYSTEM),
|
||||
0, Icon_System_menu,
|
||||
#if (BATTERY_CAPACITY_INC > 0) || (BATTERY_TYPES_COUNT > 1) || defined(HAVE_USB_CHARGING_ENABLE)
|
||||
#if (BATTERY_CAPACITY_INC > 0) || defined(HAVE_USB_CHARGING_ENABLE)
|
||||
&battery_menu,
|
||||
#endif
|
||||
#if defined(HAVE_DIRCACHE) || defined(HAVE_DISK_STORAGE)
|
||||
|
|
|
@ -904,10 +904,6 @@ void settings_apply(bool read_disk)
|
|||
set_battery_capacity(global_settings.battery_capacity);
|
||||
#endif
|
||||
|
||||
#if BATTERY_TYPES_COUNT > 1
|
||||
set_battery_type(global_settings.battery_type);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LCD_INVERT
|
||||
lcd_set_invert_display(global_settings.invert);
|
||||
#endif
|
||||
|
|
|
@ -686,9 +686,6 @@ struct user_settings
|
|||
#if BATTERY_CAPACITY_INC > 0
|
||||
int battery_capacity; /* in mAh */
|
||||
#endif
|
||||
#if BATTERY_TYPES_COUNT > 1
|
||||
int battery_type; /* for units which can take multiple types (Ondio). */
|
||||
#endif
|
||||
#ifdef HAVE_SPDIF_POWER
|
||||
bool spdif_enable; /* S/PDIF power on/off */
|
||||
#endif
|
||||
|
|
|
@ -1207,15 +1207,6 @@ const struct settings_list settings[] = {
|
|||
OFFON_SETTING(0, sync_rds_time, LANG_FM_SYNC_RDS_TIME, false, "sync_rds_time", NULL),
|
||||
#endif
|
||||
|
||||
#if BATTERY_TYPES_COUNT > 1
|
||||
CHOICE_SETTING(0, battery_type, LANG_BATTERY_TYPE, 0, "battery type",
|
||||
#ifdef XDUOO_X3
|
||||
"new_2000mAh,old_1500mAh",
|
||||
#else
|
||||
"alkaline,nimh",
|
||||
#endif
|
||||
NULL, 2, ID2P(LANG_BATTERY_TYPE_1), ID2P(LANG_BATTERY_TYPE_2)),
|
||||
#endif
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
/* remote lcd */
|
||||
INT_SETTING(0, remote_contrast, LANG_CONTRAST,
|
||||
|
|
|
@ -182,7 +182,7 @@ void fatal_error(int err)
|
|||
}
|
||||
|
||||
#if (CONFIG_STORAGE & STORAGE_ATA)
|
||||
extern unsigned short battery_level_disksafe[BATTERY_TYPES_COUNT];
|
||||
extern unsigned short battery_level_disksafe;
|
||||
static void battery_trap(void)
|
||||
{
|
||||
int vbat, old_verb;
|
||||
|
@ -206,7 +206,7 @@ static void battery_trap(void)
|
|||
* when the HDD is used heavily (large database) the level drops
|
||||
* to battery_level_shutoff quickly.
|
||||
*/
|
||||
if (vbat >= battery_level_disksafe[0] + th)
|
||||
if (vbat >= battery_level_disksafe + th)
|
||||
break;
|
||||
th = 200;
|
||||
|
||||
|
|
|
@ -741,10 +741,6 @@ Lyre prototype 1 */
|
|||
#define CONFIG_RTC 0
|
||||
#endif
|
||||
|
||||
#ifndef BATTERY_TYPES_COUNT
|
||||
#define BATTERY_TYPES_COUNT 0
|
||||
#endif
|
||||
|
||||
#ifndef BATTERY_CAPACITY_DEFAULT
|
||||
#define BATTERY_CAPACITY_DEFAULT 0
|
||||
#endif
|
||||
|
|
|
@ -32,9 +32,6 @@
|
|||
/* Define this to the CPU frequency */
|
||||
#define CPU_FREQ 1008000000
|
||||
|
||||
/* Battery */
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
/* Audio codec */
|
||||
#define HAVE_ROCKER_CODEC
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
#define CPU_FREQ 1008000000
|
||||
|
||||
/* Battery */
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
|
||||
/* Audio codec */
|
||||
#define HAVE_EROSQ_LINUX_CODEC
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -154,7 +154,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -108,7 +108,6 @@
|
|||
#endif
|
||||
|
||||
/* Battery */
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
#define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */
|
||||
#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1300 /* max. capacity selectable */
|
||||
|
|
|
@ -104,7 +104,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1100
|
||||
#define BATTERY_CAPACITY_MAX 1100
|
||||
#define BATTERY_CAPACITY_INC 0
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
|
||||
/* Multiboot */
|
||||
#define HAVE_BOOTDATA
|
||||
|
|
|
@ -112,9 +112,6 @@
|
|||
#define CONFIG_STORAGE STORAGE_HOSTFS
|
||||
#define HAVE_STORAGE_FLUSH
|
||||
|
||||
/* Battery */
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
/* Audio codec */
|
||||
#define HAVE_FIIO_LINUX_CODEC
|
||||
#define HAVE_ALSA_32BIT
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 830 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 830 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 25 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -170,7 +170,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 25 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 700 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -143,7 +143,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 900 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 20 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 3000 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 4100 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -134,7 +134,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1700 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 7300 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
#define CONFIG_CHARGING CHARGING_MONITOR
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1700 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 7300 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1050 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1050 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1400 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1200 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1900 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -133,7 +133,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -140,7 +140,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 630 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 3000 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 200 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 20 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
#define BATTERY_CAPACITY_MAX 3000 /* max. capacity selectable --
|
||||
3rd party batteries go this high */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 900 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -130,7 +130,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -93,7 +93,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
#define CODEC_SRCTRL_44100HZ (0x10 << 1)
|
||||
#define CODEC_SRCTRL_88200HZ (0x1E << 1)
|
||||
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
#define BATTERY_CAPACITY_DEFAULT 850 /* this is wild guess */
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
#define CODEC_SRCTRL_44100HZ (0x10 << 1)
|
||||
#define CODEC_SRCTRL_88200HZ (0x1E << 1)
|
||||
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
#define BATTERY_CAPACITY_DEFAULT 1200 /* this is wild guess */
|
||||
|
|
|
@ -137,7 +137,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -188,7 +188,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1000 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -128,7 +128,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -136,7 +136,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 10 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 900 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -146,7 +146,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1150 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 600 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
/* R1's fuel gauge max17040 can supply both kind of values */
|
||||
#define CONFIG_BATTERY_MEASURE PERCENTAGE_MEASURE
|
||||
|
|
|
@ -113,7 +113,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 580 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 580 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 530 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 530 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 530 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 530 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 330 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 330 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -155,7 +155,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 290 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 290 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -142,7 +142,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 380 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 380 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 300 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -147,7 +147,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 700 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
/* bq27000 provides voltage, percentage and time measure.
|
||||
* Voltage reading is available every 2.56 seconds and does not need filtering.
|
||||
|
|
|
@ -145,7 +145,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 730 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 730 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -158,7 +158,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -151,7 +151,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -163,7 +163,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 750 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 750 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -89,7 +89,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 1100
|
||||
#define BATTERY_CAPACITY_MAX 1100
|
||||
#define BATTERY_CAPACITY_INC 0
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
|
||||
/* Multiboot */
|
||||
#define HAVE_BOOTDATA
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -125,7 +125,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 550 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 550 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -117,9 +117,6 @@
|
|||
#endif
|
||||
#define HAVE_STORAGE_FLUSH
|
||||
|
||||
/* Battery */
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
/* special define to be use in various places */
|
||||
#define SONY_NWZ_LINUX
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -30,9 +30,6 @@
|
|||
/* Define this to the CPU frequency */
|
||||
#define CPU_FREQ 1008000000
|
||||
|
||||
/* Battery */
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
/* Audio codec */
|
||||
#define HAVE_XDUOO_LINUX_CODEC
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 2 /* Two types (2000mAh and 1500mAh) */
|
||||
|
||||
|
||||
#define CURRENT_NORMAL 167 // 2.78mA * 60s
|
||||
#define CURRENT_BACKLIGHT 180 // 15mA * 60s
|
||||
|
|
|
@ -31,9 +31,6 @@
|
|||
/* Define this to the CPU frequency */
|
||||
#define CPU_FREQ 1008000000
|
||||
|
||||
/* Battery */
|
||||
#define BATTERY_TYPES_COUNT 1
|
||||
|
||||
/* Audio codec */
|
||||
#define HAVE_XDUOO_LINUX_CODEC
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
|
||||
#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
|
||||
#define BATTERY_CAPACITY_INC 100 /* capacity increment */
|
||||
#define BATTERY_TYPES_COUNT 1 /* only one type */
|
||||
|
||||
|
||||
#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue