From 7d7969114da36a99afc4d80576ff9b089cb09e50 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 11 Jan 2009 10:07:22 +0000 Subject: c200v1/e200v1: Add battery charging. This should be usable on v2 players but those should be evaluated for current, endpoint voltage and whether or not accurate battery readings may always be obtained (which determines algorithm setup and behavior). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19748 a1c6a512-1295-4272-9138-f99709370657 --- firmware/powermgmt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/powermgmt.c') diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index f71eb45430..3fc216080b 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c @@ -435,7 +435,7 @@ bool query_force_shutdown(void) #endif } -#ifdef HAVE_BATTERY_SWITCH +#if defined(HAVE_BATTERY_SWITCH) || defined(HAVE_RESET_BATTERY_FILTER) /* * Reset the battery voltage filter to a new value and update the * status. -- cgit v1.2.3