diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-03-09 01:36:22 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-03-09 01:36:22 +0000 |
commit | ca9e8b6cf5d1bdadf0040eb2f4baec1cbd5e3d7a (patch) | |
tree | 4b3253906eb2397fe80ac747f6873878fc11861a /firmware/export/config-ipodvideo.h | |
parent | c24569feeedc9e6bda80b84d9dd6398f1bb9c586 (diff) |
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
Diffstat (limited to 'firmware/export/config-ipodvideo.h')
-rw-r--r-- | firmware/export/config-ipodvideo.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |