summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-15 00:36:13 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-15 00:36:13 +0000
commit6159278e0d49f236233e7dab73a191b3c902f05d (patch)
tree8e16ac9ac492cee7de56fbe3387f2e033e381fec /firmware
parentade669f0e76008937e1d0ae83d99ef2af5c73863 (diff)
Clip+: si4702 FM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25190 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/config/sansaclipplus.h4
-rw-r--r--firmware/target/arm/as3525/fmradio-i2c-as3525.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 681b7a2d1c..c297d74dfb 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 6cdf0c7c7f..622f339633 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