Enable FM radio on the sansa c200v2 (untested).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20809 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2009-04-26 21:28:34 +00:00
parent e45a249916
commit 0d6a28edc3
2 changed files with 3 additions and 3 deletions

View file

@ -16,11 +16,11 @@
#define REC_SAMPR_CAPS (SAMPR_CAP_22)
#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
#define REC_SAMPR_DEFAULT SAMPR_22
#endif
/* Define bitmask of input sources - recordable bitmask can be defined
explicitly if different */
#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
#endif
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
@ -108,7 +108,7 @@
#define AB_REPEAT_ENABLE 1
/* FM Tuner - suspected to be the SI4702 */
//#define CONFIG_TUNER SI4700
#define CONFIG_TUNER SI4700
/* #define HAVE_TUNER_PWR_CTRL */
/* Define this for LCD backlight available */

View file

@ -31,7 +31,7 @@
#include "generic_i2c.h"
#include "fmradio_i2c.h"
#if defined(SANSA_CLIP)
#if defined(SANSA_CLIP) || defined(SANSA_C200V2)
#define I2C_GPIO(x) GPIOB_PIN(x)
#define I2C_GPIO_DIR GPIOB_DIR
#define I2C_SCL_PIN 4