summaryrefslogtreecommitdiffstats
path: root/firmware/export/config-ondiofm.h
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-09-10 07:24:00 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-09-10 07:24:00 +0000
commit6c1afd7a9e128f2ff628e3e4d2584024c2d8951f (patch)
tree1649dd246c50891955aee1d9c3f8942458127155 /firmware/export/config-ondiofm.h
parentd5c293a525e364f17b3cc9ec8eeb00c000796bc9 (diff)
downloadrockbox-6c1afd7a9e128f2ff628e3e4d2584024c2d8951f.tar.gz
rockbox-6c1afd7a9e128f2ff628e3e4d2584024c2d8951f.zip
adjustment for the Ondio: I2C clock is on a different pin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5054 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ondiofm.h')
-rw-r--r--firmware/export/config-ondiofm.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index 24effa08e4..0f71ea6113 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -28,8 +28,8 @@
/* Define this to the CPU frequency */
#define CPU_FREQ 12000000
-/* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */
-#define BATTERY_SCALE_FACTOR 8081 /* don't know yet */
+/* Battery scale factor (measured from Jrg's FM) */
+#define BATTERY_SCALE_FACTOR 4785 /* 4.890V read as 0x3FE */
/* Define this if you control power on PB5 (instead of the OFF button) */
#define HAVE_POWEROFF_ON_PB5 /* don't know yet */
@@ -61,3 +61,6 @@
/* Define this if the display is mounted upside down */
#define HAVE_DISPLAY_FLIPPED
+/* Define this for different I2C pinout */
+#define HAVE_ONDIO_I2C
+