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)
downloadrockbox-6159278e0d49f236233e7dab73a191b3c902f05d.tar.gz
rockbox-6159278e0d49f236233e7dab73a191b3c902f05d.zip
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 @@
24 24
25/* Define bitmask of input sources - recordable bitmask can be defined 25/* Define bitmask of input sources - recordable bitmask can be defined
26 explicitly if different */ 26 explicitly if different */
27#define INPUT_SRC_CAPS (SRC_CAP_MIC /*| SRC_CAP_FMRADIO*/) 27#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
28 28
29/* define this if you have a bitmap LCD display */ 29/* define this if you have a bitmap LCD display */
30#define HAVE_LCD_BITMAP 30#define HAVE_LCD_BITMAP
@@ -119,7 +119,7 @@
119#define AB_REPEAT_ENABLE 1 119#define AB_REPEAT_ENABLE 1
120 120
121/* FM Tuner */ 121/* FM Tuner */
122//#define CONFIG_TUNER SI4700 /* in fact SI4702 */ 122#define CONFIG_TUNER SI4700 /* in fact SI4702 */
123//#define HAVE_TUNER_PWR_CTRL 123//#define HAVE_TUNER_PWR_CTRL
124 124
125/* Define this for LCD backlight available */ 125/* 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 @@
37#define I2C_SCL_PIN 4 37#define I2C_SCL_PIN 4
38#define I2C_SDA_PIN 5 38#define I2C_SDA_PIN 5
39 39
40#elif defined(SANSA_CLIPV2) 40#elif defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS)
41#define I2C_GPIO(x) GPIOB_PIN(x) 41#define I2C_GPIO(x) GPIOB_PIN(x)
42#define I2C_GPIO_DIR GPIOB_DIR 42#define I2C_GPIO_DIR GPIOB_DIR
43#define I2C_SCL_PIN 6 43#define I2C_SCL_PIN 6