summaryrefslogtreecommitdiff
path: root/firmware/drivers/tuner/tea5760uk.c
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-10-22 00:31:04 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2013-10-22 00:34:45 +0200
commit7a65710836c67134f0d3169f768c9840e959c4c6 (patch)
tree6328e4e01a74515b6cc8c086306db8cf054c108c /firmware/drivers/tuner/tea5760uk.c
parenta0728672bf07f626049f8dc0007772794ae95ee1 (diff)
downloadrockbox-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/tuner/tea5760uk.c')
-rw-r--r--firmware/drivers/tuner/tea5760uk.c4
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