From 4a4ec511bc26ef994841fcca877f675bc33009a7 Mon Sep 17 00:00:00 2001 From: Thom Johansen Date: Tue, 4 Apr 2006 10:03:09 +0000 Subject: Hopefully working battery display on Nanos. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9483 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-ipodnano.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 142fb272f9..7264beaa88 100644 --- a/firmware/export/config-ipodnano.h +++ b/firmware/export/config-ipodnano.h @@ -62,9 +62,9 @@ #define CONFIG_I2C I2C_PP5020 /* Type of mobile power */ -//#define CONFIG_BATTERY BATT_LIPOL1300 +#define CONFIG_BATTERY BATT_LIPOL1300 -#define BATTERY_SCALE_FACTOR 16665 /* FIX: this value is picked at random */ +#define BATTERY_SCALE_FACTOR 5865 /* Define this if the platform can charge batteries */ //#define HAVE_CHARGING 1 -- cgit v1.2.3