From da1ca5177fd1606fe494939e120c5731b4bb5d3f Mon Sep 17 00:00:00 2001 From: Mark Arigo Date: Sat, 7 Mar 2009 04:41:37 +0000 Subject: Make Philips SA9200 build again git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20226 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-sa9200.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'firmware/export/config-sa9200.h') diff --git a/firmware/export/config-sa9200.h b/firmware/export/config-sa9200.h index 3008360414..cbe92bb99c 100755 --- a/firmware/export/config-sa9200.h +++ b/firmware/export/config-sa9200.h @@ -105,8 +105,14 @@ #define BATTERY_CAPACITY_INC 0 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ -/* Hardware controlled charging? FIXME */ -#define CONFIG_CHARGING CHARGING_SIMPLE +/* Charging implemented in a target-specific algorithm */ +#define CONFIG_CHARGING CHARGING_TARGET +#define HAVE_POWEROFF_WHILE_CHARGING + +/* define current usage levels (copied from the e200v1 )*/ +#define CURRENT_NORMAL 30 /* Toni's measurements in Nov 2008 */ +#define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */ +#define CURRENT_RECORD 30 /* flash player, so this is just unboosted current*/ /* define this if the unit can be powered or charged via USB */ #define HAVE_USB_POWER -- cgit v1.2.3