summaryrefslogtreecommitdiff
path: root/firmware/export/config-ipodvideo.h
diff options
context:
space:
mode:
authorBrandon Low <lostlogic@rockbox.org>2006-03-09 01:36:22 +0000
committerBrandon Low <lostlogic@rockbox.org>2006-03-09 01:36:22 +0000
commitca9e8b6cf5d1bdadf0040eb2f4baec1cbd5e3d7a (patch)
tree4b3253906eb2397fe80ac747f6873878fc11861a /firmware/export/config-ipodvideo.h
parentc24569feeedc9e6bda80b84d9dd6398f1bb9c586 (diff)
downloadrockbox-ca9e8b6cf5d1bdadf0040eb2f4baec1cbd5e3d7a.tar.gz
rockbox-ca9e8b6cf5d1bdadf0040eb2f4baec1cbd5e3d7a.zip
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.h4
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 @@
61/* Type of mobile power */ 61/* Type of mobile power */
62#define CONFIG_BATTERY BATT_LIPOL1300 62#define CONFIG_BATTERY BATT_LIPOL1300
63 63
64#define BATTERY_SCALE_FACTOR 586 /* FIX: this value is picked at random */ 64#define BATTERY_SCALE_FACTOR 2353
65 65
66/* Define this if the platform can charge batteries */ 66/* Define this if the platform can charge batteries */
67//#define HAVE_CHARGING 1 67#define HAVE_CHARGING 1
68 68
69/* define this if the hardware can be powered off while charging */ 69/* define this if the hardware can be powered off while charging */
70//#define HAVE_POWEROFF_WHILE_CHARGING 70//#define HAVE_POWEROFF_WHILE_CHARGING