diff options
Diffstat (limited to 'firmware/target/arm/as3525/fmradio-i2c-as3525.c')
-rw-r--r-- | firmware/target/arm/as3525/fmradio-i2c-as3525.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/fmradio-i2c-as3525.c b/firmware/target/arm/as3525/fmradio-i2c-as3525.c index d987938d3a..6cdf0c7c7f 100644 --- a/firmware/target/arm/as3525/fmradio-i2c-as3525.c +++ b/firmware/target/arm/as3525/fmradio-i2c-as3525.c | |||
@@ -37,6 +37,12 @@ | |||
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) | ||
41 | #define I2C_GPIO(x) GPIOB_PIN(x) | ||
42 | #define I2C_GPIO_DIR GPIOB_DIR | ||
43 | #define I2C_SCL_PIN 6 | ||
44 | #define I2C_SDA_PIN 7 | ||
45 | |||
40 | #elif defined(SANSA_M200V4) | 46 | #elif defined(SANSA_M200V4) |
41 | #define I2C_GPIO(x) GPIOD_PIN(x) | 47 | #define I2C_GPIO(x) GPIOD_PIN(x) |
42 | #define I2C_GPIO_DIR GPIOD_DIR | 48 | #define I2C_GPIO_DIR GPIOD_DIR |