diff options
author | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-09-25 22:46:36 +0000 |
---|---|---|
committer | Andree Buschmann <AndreeBuschmann@t-online.de> | 2010-09-25 22:46:36 +0000 |
commit | 0ef3616d10c811dc22b0c03d7bb9a5f87593a173 (patch) | |
tree | bce1628ab4e5bdba1d7573b02812980a6667e9c4 | |
parent | 86d5f44b4a819d749a8f07f23fbf5d0826bf1e7c (diff) | |
download | rockbox-0ef3616d10c811dc22b0c03d7bb9a5f87593a173.tar.gz rockbox-0ef3616d10c811dc22b0c03d7bb9a5f87593a173.zip |
Add current consumption and battery capacities to iPod nano 2G config file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28165 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/export/config/ipodnano2g.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h index 898871d486..fc6404d636 100644 --- a/firmware/export/config/ipodnano2g.h +++ b/firmware/export/config/ipodnano2g.h | |||
@@ -133,14 +133,18 @@ | |||
133 | #define PLUGIN_BUFFER_SIZE 0x80000 | 133 | #define PLUGIN_BUFFER_SIZE 0x80000 |
134 | 134 | ||
135 | #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ | 135 | #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ |
136 | #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ | 136 | #define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */ |
137 | #define BATTERY_CAPACITY_MAX 400 /* max. capacity selectable */ | 137 | #define BATTERY_CAPACITY_MAX 500 /* max. capacity selectable */ |
138 | #define BATTERY_CAPACITY_INC 50 /* capacity increment */ | 138 | #define BATTERY_CAPACITY_INC 10 /* capacity increment */ |
139 | #define BATTERY_TYPES_COUNT 1 /* only one type */ | 139 | #define BATTERY_TYPES_COUNT 1 /* only one type */ |
140 | 140 | ||
141 | /* Hardware controlled charging with monitoring */ | 141 | /* Hardware controlled charging with monitoring */ |
142 | #define CONFIG_CHARGING CHARGING_MONITOR | 142 | #define CONFIG_CHARGING CHARGING_MONITOR |
143 | 143 | ||
144 | /* define current usage levels */ | ||
145 | #define CURRENT_NORMAL 21 /* playback @48MHz clock, backlight off */ | ||
146 | #define CURRENT_BACKLIGHT 23 /* maximum brightness */ | ||
147 | |||
144 | /* define this if the unit can be powered or charged via USB */ | 148 | /* define this if the unit can be powered or charged via USB */ |
145 | #define HAVE_USB_POWER | 149 | #define HAVE_USB_POWER |
146 | 150 | ||