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:
parent
9668883bac
commit
a20d3fa3a4
3 changed files with 10 additions and 10 deletions
|
|
@ -124,10 +124,10 @@
|
||||||
#define HAVE_HEADPHONE_DETECTION
|
#define HAVE_HEADPHONE_DETECTION
|
||||||
|
|
||||||
#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 */
|
||||||
|
|
||||||
/* define current usage levels */
|
/* define current usage levels */
|
||||||
#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */
|
#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */
|
||||||
|
|
|
||||||
|
|
@ -131,10 +131,10 @@
|
||||||
#define HAVE_HEADPHONE_DETECTION
|
#define HAVE_HEADPHONE_DETECTION
|
||||||
|
|
||||||
#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 */
|
||||||
|
|
||||||
/* define current usage levels */
|
/* define current usage levels */
|
||||||
#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */
|
#define CURRENT_NORMAL 50 /* PP5024 uses ~40mA, so add some for disk */
|
||||||
|
|
|
||||||
|
|
@ -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 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue