diff options
| author | Thom Johansen <thomj@rockbox.org> | 2006-04-04 10:03:09 +0000 |
|---|---|---|
| committer | Thom Johansen <thomj@rockbox.org> | 2006-04-04 10:03:09 +0000 |
| commit | 4a4ec511bc26ef994841fcca877f675bc33009a7 (patch) | |
| tree | 7ce8841be1733c7be03d3eeb428b3bc8f6031141 | |
| parent | 23dc42ce459c9bc1fdc191b4e964ea7c7fd56153 (diff) | |
| download | rockbox-4a4ec511bc26ef994841fcca877f675bc33009a7.zip rockbox-4a4ec511bc26ef994841fcca877f675bc33009a7.tar.gz rockbox-4a4ec511bc26ef994841fcca877f675bc33009a7.tar.bz2 rockbox-4a4ec511bc26ef994841fcca877f675bc33009a7.tar.xz | |
Hopefully working battery display on Nanos.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9483 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/export/config-ipodnano.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h index 142fb272..7264bea 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 |