From 0ef3616d10c811dc22b0c03d7bb9a5f87593a173 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sat, 25 Sep 2010 22:46:36 +0000 Subject: [PATCH] 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 --- firmware/export/config/ipodnano2g.h | 12 ++++++++---- 1 file 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