From ca9e8b6cf5d1bdadf0040eb2f4baec1cbd5e3d7a Mon Sep 17 00:00:00 2001 From: Brandon Low Date: Thu, 9 Mar 2006 01:36:22 +0000 Subject: Use an 8 bit ADC read for battery reading on ipod, that provides better than centivolt precision any way, also enable charging, it seems to detect fine when charging by USB git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8966 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipodvideo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export/config-ipodvideo.h') diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index 1fa778dbc4..9a561c3adc 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h @@ -61,10 +61,10 @@ /* Type of mobile power */ #define CONFIG_BATTERY BATT_LIPOL1300 -#define BATTERY_SCALE_FACTOR 586 /* FIX: this value is picked at random */ +#define BATTERY_SCALE_FACTOR 2353 /* Define this if the platform can charge batteries */ -//#define HAVE_CHARGING 1 +#define HAVE_CHARGING 1 /* define this if the hardware can be powered off while charging */ //#define HAVE_POWEROFF_WHILE_CHARGING -- cgit v1.2.3