summaryrefslogtreecommitdiff
path: root/firmware/export/config-gigabeat.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-gigabeat.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-gigabeat.h')
-rw-r--r--firmware/export/config-gigabeat.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h
index 319ad4e916..ba6b714a17 100644
--- a/firmware/export/config-gigabeat.h
+++ b/firmware/export/config-gigabeat.h
@@ -79,15 +79,11 @@
79 79
80#define HAVE_HEADPHONE_DETECTION 80#define HAVE_HEADPHONE_DETECTION
81 81
82/* Type of mobile power - check this out */
83#define CONFIG_BATTERY BATT_LIION830 /* could change this later */
84#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */ 82#define BATTERY_CAPACITY_DEFAULT 2000 /* default battery capacity */
85#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ 83#define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */
86#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */ 84#define BATTERY_CAPACITY_MAX 2500 /* max. capacity selectable */
87#define BATTERY_CAPACITY_INC 25 /* capacity increment */ 85#define BATTERY_CAPACITY_INC 25 /* capacity increment */
88#define BATTERY_TYPES_COUNT 1 /* only one type */ 86#define BATTERY_TYPES_COUNT 1 /* only one type */
89/* ADC[0] is (530) at discharge and 625 at full charge */
90#define BATTERY_SCALE_FACTOR 6450
91 87
92/* Hardware controlled charging with monitoring */ 88/* Hardware controlled charging with monitoring */
93#define CONFIG_CHARGING CHARGING_MONITOR 89#define CONFIG_CHARGING CHARGING_MONITOR