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-recorder.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-recorder.h')
-rw-r--r-- | firmware/export/config-recorder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h index 4569c8bfd0..bb57ba5666 100644 --- a/firmware/export/config-recorder.h +++ b/firmware/export/config-recorder.h | |||
@@ -51,14 +51,14 @@ | |||
51 | 51 | ||
52 | #define CONFIG_I2C I2C_PLAYREC | 52 | #define CONFIG_I2C I2C_PLAYREC |
53 | 53 | ||
54 | /* Type of mobile power */ | ||
55 | #define CONFIG_BATTERY BATT_4AA_NIMH | ||
56 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ | 54 | #define BATTERY_CAPACITY_DEFAULT 1500 /* default battery capacity */ |
57 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ | 55 | #define BATTERY_CAPACITY_MIN 1500 /* min. capacity selectable */ |
58 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ | 56 | #define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ |
59 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 57 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ |
60 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 58 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
61 | #define BATTERY_SCALE_FACTOR 6465 | 59 | |
60 | /* define this if the unit should not shut down on low battery. */ | ||
61 | #define NO_LOW_BATTERY_SHUTDOWN | ||
62 | 62 | ||
63 | /* Software controlled charging */ | 63 | /* Software controlled charging */ |
64 | #define CONFIG_CHARGING CHARGING_CONTROL | 64 | #define CONFIG_CHARGING CHARGING_CONTROL |