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 | |
| parent | 193611367ab739c284be26060f707776804757b9 (diff) | |
| download | rockbox-5a79b4e015366fa2ee7c06cf29b3237275db369a.zip rockbox-5a79b4e015366fa2ee7c06cf29b3237275db369a.tar.gz rockbox-5a79b4e015366fa2ee7c06cf29b3237275db369a.tar.bz2 rockbox-5a79b4e015366fa2ee7c06cf29b3237275db369a.tar.xz | |
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')
| -rw-r--r-- | firmware/export/config-h10.h | 6 | ||||
| -rw-r--r-- | firmware/export/config-h10_5gb.h | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h index df42068..df778e2 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 diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h index 35d5467..aefc21c 100644 --- a/firmware/export/config-h10_5gb.h +++ b/firmware/export/config-h10_5gb.h @@ -79,7 +79,7 @@ #define BATTERY_CAPACITY_MAX 900 /* 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 |