1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Andree Buschmann 2010-02-17 20:46:22 +00:00
parent 9668883bac
commit a20d3fa3a4
3 changed files with 10 additions and 10 deletions

View file

@ -125,7 +125,7 @@
#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ #define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 10 /* capacity increment */ #define BATTERY_CAPACITY_INC 10 /* capacity increment */
#define BATTERY_TYPES_COUNT 1 /* only one type */ #define BATTERY_TYPES_COUNT 1 /* only one type */

View file

@ -132,7 +132,7 @@
#define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */ #define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity */
#define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */ #define BATTERY_CAPACITY_MIN 400 /* min. capacity selectable */
#define BATTERY_CAPACITY_MAX 800 /* max. capacity selectable */ #define BATTERY_CAPACITY_MAX 1000 /* max. capacity selectable */
#define BATTERY_CAPACITY_INC 50 /* capacity increment */ #define BATTERY_CAPACITY_INC 50 /* capacity increment */
#define BATTERY_TYPES_COUNT 1 /* only one type */ #define BATTERY_TYPES_COUNT 1 /* only one type */

View file

@ -133,11 +133,11 @@
#if (MEM==32) /* this is the 30GB-model */ #if (MEM==32) /* this is the 30GB-model */
# define BATTERY_CAPACITY_DEFAULT 400 /* default battery capacity for 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_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 */ #else /* these are the 60/80GB-models */
# define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity for the 60/80GB model */ # define BATTERY_CAPACITY_DEFAULT 600 /* default battery capacity for the 60/80GB model */
# define BATTERY_CAPACITY_MIN 500 /* min. capacity selectable */ # 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 #endif
#define BATTERY_CAPACITY_INC 50 /* capacity increment */ #define BATTERY_CAPACITY_INC 50 /* capacity increment */
#define BATTERY_TYPES_COUNT 1 /* only one type */ #define BATTERY_TYPES_COUNT 1 /* only one type */