summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-09-25 22:46:36 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-09-25 22:46:36 +0000
commit0ef3616d10c811dc22b0c03d7bb9a5f87593a173 (patch)
treebce1628ab4e5bdba1d7573b02812980a6667e9c4 /firmware
parent86d5f44b4a819d749a8f07f23fbf5d0826bf1e7c (diff)
downloadrockbox-0ef3616d10c811dc22b0c03d7bb9a5f87593a173.tar.gz
rockbox-0ef3616d10c811dc22b0c03d7bb9a5f87593a173.tar.bz2
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/ipodnano2g.h12
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 @@
#define PLUGIN_BUFFER_SIZE 0x80000
#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
-#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
-#define BATTERY_CAPACITY_MAX 400 /* max. capacity selectable */
-#define BATTERY_CAPACITY_INC 50 /* capacity increment */
-#define BATTERY_TYPES_COUNT 1 /* only one type */
+#define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
+#define BATTERY_CAPACITY_MAX 500 /* max. capacity selectable */
+#define BATTERY_CAPACITY_INC 10 /* capacity increment */
+#define BATTERY_TYPES_COUNT 1 /* only one type */
/* Hardware controlled charging with monitoring */
#define CONFIG_CHARGING CHARGING_MONITOR
+/* define current usage levels */
+#define CURRENT_NORMAL 21 /* playback @48MHz clock, backlight off */
+#define CURRENT_BACKLIGHT 23 /* maximum brightness */
+
/* define this if the unit can be powered or charged via USB */
#define HAVE_USB_POWER