diff options
author | Barry Wardell <rockbox@barrywardell.net> | 2006-09-23 17:47:54 +0000 |
---|---|---|
committer | Barry Wardell <rockbox@barrywardell.net> | 2006-09-23 17:47:54 +0000 |
commit | 5a79b4e015366fa2ee7c06cf29b3237275db369a (patch) | |
tree | c69b042757caec05b46146c96db2c934a0e68438 /firmware/export/config-h10.h | |
parent | 193611367ab739c284be26060f707776804757b9 (diff) |
Add ADC to I/O ports debug menu on H10. Fix battery level reading empty when starting up on H10. Calibrated battery for H10 20GB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11036 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-h10.h')
-rw-r--r-- | firmware/export/config-h10.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index df42068fb8..df778e24f0 100644 --- a/firmware/export/config-h10.h +++ b/firmware/export/config-h10.h @@ -65,9 +65,7 @@ #define CONFIG_BACKLIGHT BL_H10 /* TODO: figure this out, probably not necessary because of 'target' stuff */ -#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity - TODO: check this, probably different - for different models too */ +#define BATTERY_CAPACITY_DEFAULT 1550 /* default battery capacity */ #ifndef SIMULATOR @@ -83,7 +81,7 @@ #define BATTERY_CAPACITY_MAX 1600 /* max. capacity selectable */ #define BATTERY_CAPACITY_INC 10 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ -#define BATTERY_SCALE_FACTOR 5865 +#define BATTERY_SCALE_FACTOR 4688 /* Hardware controlled charging */ #define CONFIG_CHARGING CHARGING_SIMPLE |