From 5a79b4e015366fa2ee7c06cf29b3237275db369a Mon Sep 17 00:00:00 2001 From: Barry Wardell Date: Sat, 23 Sep 2006 17:47:54 +0000 Subject: 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 --- firmware/export/config-h10.h | 6 ++---- firmware/export/config-h10_5gb.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'firmware/export') 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 -- cgit v1.1