diff options
author | Brandon Low <lostlogic@rockbox.org> | 2006-03-05 18:06:06 +0000 |
---|---|---|
committer | Brandon Low <lostlogic@rockbox.org> | 2006-03-05 18:06:06 +0000 |
commit | 63c0d1dd9c22658b12a48dfc2015bfb0bf1239a4 (patch) | |
tree | 6d940115b5d19c1c5a533bd6139c39bdd2a0916c /firmware/export/config-ipodvideo.h | |
parent | 4594ad460592ef56f2f1cdc5de132152257dfd5a (diff) |
Basic battery monitoring for ipod 5g, should work on other ipods as well, but needs testing and stuff. Also improved the RTC driver and moved it to where it belongs, and interrupt protected a bunch of possibly broken i2c. Also start preparing code for ipod charge monitoring. Note: on the 5g, this takes up enough processor time to increase skippiness noticeably in WPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8911 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 2bf0396a21..1fa778dbc4 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h @@ -59,9 +59,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 586 /* FIX: this value is picked at random */ /* Define this if the platform can charge batteries */ //#define HAVE_CHARGING 1 |