diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-22 00:31:04 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-22 00:34:45 +0200 |
commit | 7a65710836c67134f0d3169f768c9840e959c4c6 (patch) | |
tree | 6328e4e01a74515b6cc8c086306db8cf054c108c /firmware/drivers | |
parent | a0728672bf07f626049f8dc0007772794ae95ee1 (diff) | |
download | rockbox-7a65710836c67134f0d3169f768c9840e959c4c6.tar.gz rockbox-7a65710836c67134f0d3169f768c9840e959c4c6.zip |
tea5760uk: use correct i2c address on the Creative
Actually 0x20 is the right address, the 0x22 applies to the meizu which
probably use a Chinese clone with a non-spec compliant address.
Change-Id: I65b9ab6477c07a2293226536db3e696d34d3bc2c
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/tuner/tea5760uk.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/tuner/tea5760uk.c b/firmware/drivers/tuner/tea5760uk.c index 28194b13d1..d74aa18a00 100644 --- a/firmware/drivers/tuner/tea5760uk.c +++ b/firmware/drivers/tuner/tea5760uk.c | |||
@@ -29,7 +29,11 @@ | |||
29 | #include "fmradio.h" | 29 | #include "fmradio.h" |
30 | #include "fmradio_i2c.h" /* physical interface driver */ | 30 | #include "fmradio_i2c.h" /* physical interface driver */ |
31 | 31 | ||
32 | #if defined(CREATIVE_ZENMOZAIC) || defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) | ||
33 | #define I2C_ADR 0x20 | ||
34 | #else | ||
32 | #define I2C_ADR 0x22 | 35 | #define I2C_ADR 0x22 |
36 | #endif | ||
33 | 37 | ||
34 | /* define RSSI range */ | 38 | /* define RSSI range */ |
35 | #define RSSI_MIN 4 | 39 | #define RSSI_MIN 4 |