summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondiosp.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-ondiosp.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-ondiosp.h')
-rw-r--r--firmware/export/config-ondiosp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index 0ceb72e936..9d3dd729f2 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -41,14 +41,14 @@
41/* define this if more than one device/partition can be used */ 41/* define this if more than one device/partition can be used */
42#define HAVE_MULTIVOLUME 42#define HAVE_MULTIVOLUME
43 43
44/* Type of mobile power */
45#define CONFIG_BATTERY BATT_3AAA
46#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */ 44#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
47#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ 45#define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
48#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */ 46#define BATTERY_CAPACITY_MAX 1500 /* max. capacity selectable */
49#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 47#define BATTERY_CAPACITY_INC 50 /* capacity increment */
50#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */ 48#define BATTERY_TYPES_COUNT 2 /* Alkalines or NiMH */
51#define BATTERY_SCALE_FACTOR 4735 /* average from 3 Ondios */ 49
50/* define this if the unit should not shut down on low battery. */
51#define NO_LOW_BATTERY_SHUTDOWN
52 52
53/* define this if the unit can be powered or charged via USB */ 53/* define this if the unit can be powered or charged via USB */
54#define HAVE_USB_POWER 54#define HAVE_USB_POWER