From 6159278e0d49f236233e7dab73a191b3c902f05d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 15 Mar 2010 00:36:13 +0000 Subject: Clip+: si4702 FM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25190 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/sansaclipplus.h | 4 ++-- firmware/target/arm/as3525/fmradio-i2c-as3525.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h index 681b7a2..c297d74 100644 --- a/firmware/export/config/sansaclipplus.h +++ b/firmware/export/config/sansaclipplus.h @@ -24,7 +24,7 @@ /* Define bitmask of input sources - recordable bitmask can be defined explicitly if different */ -#define INPUT_SRC_CAPS (SRC_CAP_MIC /*| SRC_CAP_FMRADIO*/) +#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO) /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP @@ -119,7 +119,7 @@ #define AB_REPEAT_ENABLE 1 /* FM Tuner */ -//#define CONFIG_TUNER SI4700 /* in fact SI4702 */ +#define CONFIG_TUNER SI4700 /* in fact SI4702 */ //#define HAVE_TUNER_PWR_CTRL /* Define this for LCD backlight available */ diff --git a/firmware/target/arm/as3525/fmradio-i2c-as3525.c b/firmware/target/arm/as3525/fmradio-i2c-as3525.c index 6cdf0c7..622f339 100644 --- a/firmware/target/arm/as3525/fmradio-i2c-as3525.c +++ b/firmware/target/arm/as3525/fmradio-i2c-as3525.c @@ -37,7 +37,7 @@ #define I2C_SCL_PIN 4 #define I2C_SDA_PIN 5 -#elif defined(SANSA_CLIPV2) +#elif defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS) #define I2C_GPIO(x) GPIOB_PIN(x) #define I2C_GPIO_DIR GPIOB_DIR #define I2C_SCL_PIN 6 -- cgit v1.1