diff options
| author | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-09-10 07:24:00 +0000 |
|---|---|---|
| committer | Jörg Hohensohn <hohensoh@rockbox.org> | 2004-09-10 07:24:00 +0000 |
| commit | 6c1afd7a9e128f2ff628e3e4d2584024c2d8951f (patch) | |
| tree | 1649dd246c50891955aee1d9c3f8942458127155 /firmware/export/config-ondiofm.h | |
| parent | d5c293a525e364f17b3cc9ec8eeb00c000796bc9 (diff) | |
| download | rockbox-6c1afd7a9e128f2ff628e3e4d2584024c2d8951f.zip rockbox-6c1afd7a9e128f2ff628e3e4d2584024c2d8951f.tar.gz rockbox-6c1afd7a9e128f2ff628e3e4d2584024c2d8951f.tar.bz2 rockbox-6c1afd7a9e128f2ff628e3e4d2584024c2d8951f.tar.xz | |
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.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h index 24effa0..0f71ea6 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 Jörg'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 + |