summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-17 20:46:22 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-17 20:46:22 +0000
commita20d3fa3a4bd0e6eaee4829d14a677a8a9826716 (patch)
treec91f08e98dc3523a1041e39021637a7f9ed2836b /firmware
parent9668883bacad78570e0ff62d3ad0f442b6160247 (diff)
downloadrockbox-a20d3fa3a4bd0e6eaee4829d14a677a8a9826716.tar.gz
rockbox-a20d3fa3a4bd0e6eaee4829d14a677a8a9826716.tar.bz2
rockbox-a20d3fa3a4bd0e6eaee4829d14a677a8a9826716.zip
Allow batteries with higher capacity for iPod Mini1G, Mini2G and Video (FS#8973).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24732 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/ipodmini1g.h8
-rw-r--r--firmware/export/config/ipodmini2g.h8
-rw-r--r--firmware/export/config/ipodvideo.h4
3 files changed, 10 insertions, 10 deletions
diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h
index 3ab96e3a62..fc33ba3ba4 100644
--- a/firmware/export/config/ipodmini1g.h
+++ b/firmware/export/config/ipodmini1g.h
@@ -124,10 +124,10 @@
#define HAVE_HEADPHONE_DETECTION
#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
-#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
-#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */
-#define BATTERY_CAPACITY_INC 10 /* capacity increment */
-#define BATTERY_TYPES_COUNT 1 /* only one type */
+#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
+#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
+#define BATTERY_CAPACITY_INC 10 /* capacity increment */
+#define BATTERY_TYPES_COUNT 1 /* only one type */
/* define current usage levels */
#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */
diff --git a/firmware/export/config/ipodmini2g.h b/firmware/export/config/ipodmini2g.h
index 72e04a30db..35e9456d84 100644
--- a/firmware/export/config/ipodmini2g.h
+++ b/firmware/export/config/ipodmini2g.h
@@ -131,10 +131,10 @@
#define HAVE_HEADPHONE_DETECTION
#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
-#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
-#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */
-#define BATTERY_CAPACITY_INC 50 /* capacity increment */
-#define BATTERY_TYPES_COUNT 1 /* only one type */
+#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
+#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
+#define BATTERY_CAPACITY_INC 50 /* capacity increment */
+#define BATTERY_TYPES_COUNT 1 /* only one type */
/* define current usage levels */
#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */
diff --git a/firmware/export/config/ipodvideo.h b/firmware/export/config/ipodvideo.h
index d188696e64..a8d2220b8c 100644
--- a/firmware/export/config/ipodvideo.h
+++ b/firmware/export/config/ipodvideo.h
@@ -133,11 +133,11 @@
#if (MEM==32) /* this is the 30GB-model */
# define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity for the 30GB model */
# define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
-# define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */
+# define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
#else /* these are the 60/80GB-models */
# define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity for the 60/80GB model */
# define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
-# define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
+# define BATTERY_CAPACITY_MAX 1400 /* max. capacity selectable */
#endif
#define BATTERY_CAPACITY_INC 50 /* capacity increment */
#define BATTERY_TYPES_COUNT 1 /* only one type */