summaryrefslogtreecommitdiff
path: root/firmware/export/config-h10.h
diff options
context:
space:
mode:
authorBarry Wardell <rockbox@barrywardell.net>2006-09-23 17:47:54 +0000
committerBarry Wardell <rockbox@barrywardell.net>2006-09-23 17:47:54 +0000
commit5a79b4e015366fa2ee7c06cf29b3237275db369a (patch)
treec69b042757caec05b46146c96db2c934a0e68438 /firmware/export/config-h10.h
parent193611367ab739c284be26060f707776804757b9 (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.h6
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