diff options
| author | Marcin Bukat <marcin.bukat@gmail.com> | 2010-07-08 16:53:09 +0000 |
|---|---|---|
| committer | Marcin Bukat <marcin.bukat@gmail.com> | 2010-07-08 16:53:09 +0000 |
| commit | d367ab41e33119e2b6fac8cfff7d652de08012da (patch) | |
| tree | ea5a0cf4ca8ce13269ff6072b1eab82e2849597b /firmware/export | |
| parent | 771dc22aa1c33e40888172d4e62be26316caf691 (diff) | |
| download | rockbox-d367ab41e33119e2b6fac8cfff7d652de08012da.zip rockbox-d367ab41e33119e2b6fac8cfff7d652de08012da.tar.gz rockbox-d367ab41e33119e2b6fac8cfff7d652de08012da.tar.bz2 rockbox-d367ab41e33119e2b6fac8cfff7d652de08012da.tar.xz | |
HD200 - calibrate battery indicator based on measurements and battery_benches
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27350 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/config/mpiohd200.h | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/firmware/export/config/mpiohd200.h b/firmware/export/config/mpiohd200.h index b9e9b11..ca891a6 100644 --- a/firmware/export/config/mpiohd200.h +++ b/firmware/export/config/mpiohd200.h @@ -69,9 +69,6 @@ #define CONFIG_KEYPAD MPIO_HD200_PAD -#define AB_REPEAT_ENABLE 1 -#define ACTION_WPSAB_SINGLE ACTION_WPS_BROWSE - /* Define this if you do software codec */ #define CONFIG_CODEC SWCODEC @@ -118,19 +115,19 @@ #define CODEC_SRCTRL_44100HZ (0x10 << 1) #define CODEC_SRCTRL_88200HZ (0x1E << 1) -#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */ -#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 BATTERY_TYPES_COUNT 1 +#define BATTERY_CAPACITY_DEFAULT 850 /* this is wild guess */ +#define BATTERY_CAPACITY_MIN 800 /* min. capacity selectable */ +#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */ +#define BATTERY_CAPACITY_INC 50 /* capacity increment */ + +#define CURRENT_NORMAL 68 /* measured during playback unboosted */ +#define CURRENT_BACKLIGHT 24 /* measured */ +#define CURRENT_RECORD 40 /* additional current while recording */ +#define CURRENT_REMOTE 0 /* additional current when remote connected */ #define CONFIG_CHARGING CHARGING_MONITOR -/* define current usage levels */ -/* additional current when remote connected */ -/* -#define CURRENT_REMOTE 8 -*/ #ifndef SIMULATOR /* Define this if your LCD can set contrast */ |