summaryrefslogtreecommitdiff
path: root/firmware/export/config-ondiofm.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-ondiofm.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-ondiofm.h')
-rw-r--r--firmware/export/config-ondiofm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index f7d9a8f33f..f7cff94f5e 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -22,6 +22,9 @@
22/* Define this to the CPU frequency */ 22/* Define this to the CPU frequency */
23#define CPU_FREQ 12000000 23#define CPU_FREQ 12000000
24 24
25/* Type of mobile power */
26#define CONFIG_BATTERY BATT_3AAA_ALKALINE
27
25/* Battery scale factor (measured from Jörg's FM) */ 28/* Battery scale factor (measured from Jörg's FM) */
26#define BATTERY_SCALE_FACTOR 4785 /* 4.890V read as 0x3FE */ 29#define BATTERY_SCALE_FACTOR 4785 /* 4.890V read as 0x3FE */
27 30