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-ipodnano.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-ipodnano.h')
-rw-r--r-- | firmware/export/config-ipodnano.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index a2f9e3249b..d3c229593f 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h | |||
@@ -79,8 +79,6 @@ | |||
79 | /* define this if you have a flash memory storage */ | 79 | /* define this if you have a flash memory storage */ |
80 | #define HAVE_FLASH_STORAGE | 80 | #define HAVE_FLASH_STORAGE |
81 | 81 | ||
82 | /* Type of mobile power */ | ||
83 | #define CONFIG_BATTERY BATT_LIION300 | ||
84 | #define BATTERY_CAPACITY_DEFAULT 300 /* default battery capacity */ | 82 | #define BATTERY_CAPACITY_DEFAULT 300 /* default battery capacity */ |
85 | #define BATTERY_CAPACITY_MIN 200 /* min. capacity selectable */ | 83 | #define BATTERY_CAPACITY_MIN 200 /* min. capacity selectable */ |
86 | #define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */ | 84 | #define BATTERY_CAPACITY_MAX 600 /* max. capacity selectable */ |
@@ -101,8 +99,6 @@ | |||
101 | /* Define this if you want to use the PP5020 i2c interface */ | 99 | /* Define this if you want to use the PP5020 i2c interface */ |
102 | #define CONFIG_I2C I2C_PP5020 | 100 | #define CONFIG_I2C I2C_PP5020 |
103 | 101 | ||
104 | #define BATTERY_SCALE_FACTOR 5840 | ||
105 | |||
106 | /* define this if the hardware can be powered off while charging */ | 102 | /* define this if the hardware can be powered off while charging */ |
107 | //#define HAVE_POWEROFF_WHILE_CHARGING | 103 | //#define HAVE_POWEROFF_WHILE_CHARGING |
108 | 104 | ||