summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondiosp.h
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-10-08 17:45:52 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-10-08 17:45:52 +0000
commit43079ea07f13a7631cd3c0e5993638235427a476 (patch)
tree13ff7f3370f2793797fe9bd51e4e459a5dda695f /firmware/export/config-ondiosp.h
parent5cf1c97aea10864ecb6c3836a5c17845a5906d79 (diff)
downloadrockbox-43079ea07f13a7631cd3c0e5993638235427a476.tar.gz
rockbox-43079ea07f13a7631cd3c0e5993638235427a476.zip
multiple battery types prepared (CONFIG_BATTERY)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5227 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ondiosp.h')
-rw-r--r--firmware/export/config-ondiosp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index b4c9f0d572..111787ffc9 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -19,6 +19,9 @@
19/* Define this to the CPU frequency */ 19/* Define this to the CPU frequency */
20#define CPU_FREQ 12000000 20#define CPU_FREQ 12000000
21 21
22/* Type of mobile power */
23#define CONFIG_BATTERY BATT_3AAA_ALKALINE
24
22/* Battery scale factor (measured from Jörg's FM) */ 25/* Battery scale factor (measured from Jörg's FM) */
23#define BATTERY_SCALE_FACTOR 4785 /* 4.890V read as 0x3FE */ 26#define BATTERY_SCALE_FACTOR 4785 /* 4.890V read as 0x3FE */
24 27