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-h120.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-h120.h')
-rw-r--r-- | firmware/export/config-h120.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h index bf13f3e1d7..6fc9aa2406 100644 --- a/firmware/export/config-h120.h +++ b/firmware/export/config-h120.h | |||
@@ -91,13 +91,11 @@ | |||
91 | 91 | ||
92 | #define HAVE_AGC | 92 | #define HAVE_AGC |
93 | 93 | ||
94 | #define CONFIG_BATTERY BATT_LIPOL1300 | ||
95 | #define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */ | 94 | #define BATTERY_CAPACITY_DEFAULT 1300 /* default battery capacity */ |
96 | #define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */ | 95 | #define BATTERY_CAPACITY_MIN 1300 /* min. capacity selectable */ |
97 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | 96 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ |
98 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 97 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
99 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 98 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
100 | #define BATTERY_SCALE_FACTOR 16665 /* FIX: this value is picked at random */ | ||
101 | 99 | ||
102 | /* Hardware controlled charging */ | 100 | /* Hardware controlled charging */ |
103 | //#define CONFIG_CHARGING CHARGING_SIMPLE | 101 | //#define CONFIG_CHARGING CHARGING_SIMPLE |