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