diff options
author | Jens Arnold <amiconn@rockbox.org> | 2006-04-14 07:19:24 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2006-04-14 07:19:24 +0000 |
commit | 3e5c701de7767467177f42ed9f6326715dad4337 (patch) | |
tree | c5b6ff58828aa9d8a10926b739c60ba8ba391574 /firmware/export/config-ipodmini.h | |
parent | bb2eecb49626f7a08cfa3bcecb6fbd255143352f (diff) |
Correct battery voltage and almost correct percentages for all ipods. Runtime still needs calibration (and improvement, of course).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9655 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodmini.h')
-rw-r--r-- | firmware/export/config-ipodmini.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h index 7018c4e876..04ea2190ea 100644 --- a/firmware/export/config-ipodmini.h +++ b/firmware/export/config-ipodmini.h @@ -61,9 +61,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 |