summaryrefslogtreecommitdiff
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
parent9668883bacad78570e0ff62d3ad0f442b6160247 (diff)
downloadrockbox-a20d3fa3a4bd0e6eaee4829d14a677a8a9826716.tar.gz
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
-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 @@
124#define HAVE_HEADPHONE_DETECTION 124#define HAVE_HEADPHONE_DETECTION
125 125
126#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ 126#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
127#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ 127#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
128#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ 128#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
129#define BATTERY_CAPACITY_INC 10 /* capacity increment */ 129#define BATTERY_CAPACITY_INC 10 /* capacity increment */
130#define BATTERY_TYPES_COUNT 1 /* only one type */ 130#define BATTERY_TYPES_COUNT 1 /* only one type */
131 131
132/* define current usage levels */ 132/* define current usage levels */
133#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */ 133#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 @@
131#define HAVE_HEADPHONE_DETECTION 131#define HAVE_HEADPHONE_DETECTION
132 132
133#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ 133#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
134#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ 134#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
135#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ 135#define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
136#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 136#define BATTERY_CAPACITY_INC 50 /* capacity increment */
137#define BATTERY_TYPES_COUNT 1 /* only one type */ 137#define BATTERY_TYPES_COUNT 1 /* only one type */
138 138
139/* define current usage levels */ 139/* define current usage levels */
140#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */ 140#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 @@
133#if (MEM==32) /* this is the 30GB-model */ 133#if (MEM==32) /* this is the 30GB-model */
134# define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity for the 30GB model */ 134# define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity for the 30GB model */
135# define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */ 135# define BATTERY_CAPACITY_MIN 300 /* min. capacity selectable */
136# define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ 136# define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
137#else /* these are the 60/80GB-models */ 137#else /* these are the 60/80GB-models */
138# define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity for the 60/80GB model */ 138# define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity for the 60/80GB model */
139# define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ 139# define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */
140# define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */ 140# define BATTERY_CAPACITY_MAX 1400 /* max. capacity selectable */
141#endif 141#endif
142#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 142#define BATTERY_CAPACITY_INC 50 /* capacity increment */
143#define BATTERY_TYPES_COUNT 1 /* only one type */ 143#define BATTERY_TYPES_COUNT 1 /* only one type */