summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipod1g2g.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-ipod1g2g.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-ipod1g2g.h')
-rw-r--r--firmware/export/config-ipod1g2g.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/export/config-ipod1g2g.h b/firmware/export/config-ipod1g2g.h
index ff3e7b5636..d51a7437ec 100644
--- a/firmware/export/config-ipod1g2g.h
+++ b/firmware/export/config-ipod1g2g.h
@@ -69,14 +69,11 @@
69/* Define this if you can detect headphones */ 69/* Define this if you can detect headphones */
70#define HAVE_HEADPHONE_DETECTION 70#define HAVE_HEADPHONE_DETECTION
71 71
72/* Type of mobile power */
73#define CONFIG_BATTERY BATT_LIPOL1300
74#define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */ 72#define BATTERY_CAPACITY_DEFAULT 630 /* default battery capacity */
75#define BATTERY_CAPACITY_MIN 1200 /* min. capacity selectable */ 73#define BATTERY_CAPACITY_MIN 1200 /* min. capacity selectable */
76#define BATTERY_CAPACITY_MAX 1900 /* max. capacity selectable */ 74#define BATTERY_CAPACITY_MAX 1900 /* max. capacity selectable */
77#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 75#define BATTERY_CAPACITY_INC 50 /* capacity increment */
78#define BATTERY_TYPES_COUNT 1 /* only one type */ 76#define BATTERY_TYPES_COUNT 1 /* only one type */
79#define BATTERY_SCALE_FACTOR 25882
80 77
81/* Hardware controlled charging? FIXME */ 78/* Hardware controlled charging? FIXME */
82//#define CONFIG_CHARGING CHARGING_SIMPLE 79//#define CONFIG_CHARGING CHARGING_SIMPLE