diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-08-17 06:45:18 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-08-17 06:45:18 +0000 |
commit | 0fac492c3da8b46ad1cf5a668e5d851c63443a94 (patch) | |
tree | 95fb6637601a4b3c730f4aec1d2e7e7ab78e208b /firmware/export/config-ipodmini.h | |
parent | 12706e4b1d4ce65df441dcf6e2b160657ea3fa38 (diff) | |
download | rockbox-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-ipodmini.h')
-rw-r--r-- | firmware/export/config-ipodmini.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h index 3b215a43c5..54d0e2c230 100644 --- a/firmware/export/config-ipodmini.h +++ b/firmware/export/config-ipodmini.h | |||
@@ -78,14 +78,11 @@ | |||
78 | /* Define this if you can detect headphones */ | 78 | /* Define this if you can detect headphones */ |
79 | #define HAVE_HEADPHONE_DETECTION | 79 | #define HAVE_HEADPHONE_DETECTION |
80 | 80 | ||
81 | /* Type of mobile power */ | ||
82 | #define CONFIG_BATTERY BATT_LIPOL1300 | ||
83 | #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ | 81 | #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ |
84 | #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ | 82 | #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ |
85 | #define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ | 83 | #define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ |
86 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ | 84 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ |
87 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 85 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
88 | #define BATTERY_SCALE_FACTOR 5865 | ||
89 | 86 | ||
90 | /* Hardware controlled charging? FIXME */ | 87 | /* Hardware controlled charging? FIXME */ |
91 | //#define CONFIG_CHARGING CHARGING_SIMPLE | 88 | //#define CONFIG_CHARGING CHARGING_SIMPLE |