summaryrefslogtreecommitdiff
path: root/firmware/export/config-iaudiom5.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-08-17 06:45:18 +0000
committerJens Arnold <amiconn@rockbox.org>2007-08-17 06:45:18 +0000
commit0fac492c3da8b46ad1cf5a668e5d851c63443a94 (patch)
tree95fb6637601a4b3c730f4aec1d2e7e7ab78e208b /firmware/export/config-iaudiom5.h
parent12706e4b1d4ce65df441dcf6e2b160657ea3fa38 (diff)
downloadrockbox-0fac492c3da8b46ad1cf5a668e5d851c63443a94.tar.gz
rockbox-0fac492c3da8b46ad1cf5a668e5d851c63443a94.zip
First step of powermanagement rework: * Move target specific stuff into target tree, starting with battery voltage tables and voltage reading. (This revealed some incorrect percent_to_voltage_charging mappings). * Voltage reading on 1st gen ipods is now correct. * Clean up obsolete config #defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14375 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-iaudiom5.h')
-rw-r--r--firmware/export/config-iaudiom5.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/export/config-iaudiom5.h b/firmware/export/config-iaudiom5.h
index 4ab8e2c0dc..3e98f4e748 100644
--- a/firmware/export/config-iaudiom5.h
+++ b/firmware/export/config-iaudiom5.h
@@ -84,15 +84,11 @@
84/* TLV320 has no tone controls, so we use the software ones */ 84/* TLV320 has no tone controls, so we use the software ones */
85#define HAVE_SW_TONE_CONTROLS 85#define HAVE_SW_TONE_CONTROLS
86 86
87/* Type of mobile power */
88#define X5_BATT_CONFIG 2
89#define CONFIG_BATTERY BATT_IAUDIO_X5M5
90#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */ 87#define BATTERY_CAPACITY_DEFAULT 950 /* default battery capacity */
91#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */ 88#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
92#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */ 89#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
93#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 90#define BATTERY_CAPACITY_INC 50 /* capacity increment */
94#define BATTERY_TYPES_COUNT 1 /* only one type */ 91#define BATTERY_TYPES_COUNT 1 /* only one type */
95#define BATTERY_SCALE_FACTOR 5859 /* (420703125 + 35900) / 71800 */
96 92
97/* Hardware controlled charging? FIXME */ 93/* Hardware controlled charging? FIXME */
98#define CONFIG_CHARGING CHARGING_SIMPLE 94#define CONFIG_CHARGING CHARGING_SIMPLE