mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 05:35:20 -05:00
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:
parent
e45a249916
commit
0d6a28edc3
2 changed files with 3 additions and 3 deletions
|
|
@ -16,11 +16,11 @@
|
||||||
#define REC_SAMPR_CAPS (SAMPR_CAP_22)
|
#define REC_SAMPR_CAPS (SAMPR_CAP_22)
|
||||||
#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
|
#define REC_FREQ_DEFAULT REC_FREQ_22 /* Default is not 44.1kHz */
|
||||||
#define REC_SAMPR_DEFAULT SAMPR_22
|
#define REC_SAMPR_DEFAULT SAMPR_22
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Define bitmask of input sources - recordable bitmask can be defined
|
/* Define bitmask of input sources - recordable bitmask can be defined
|
||||||
explicitly if different */
|
explicitly if different */
|
||||||
#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
|
#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_FMRADIO)
|
||||||
#endif
|
|
||||||
|
|
||||||
/* define this if you have a bitmap LCD display */
|
/* define this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
@ -108,7 +108,7 @@
|
||||||
#define AB_REPEAT_ENABLE 1
|
#define AB_REPEAT_ENABLE 1
|
||||||
|
|
||||||
/* FM Tuner - suspected to be the SI4702 */
|
/* FM Tuner - suspected to be the SI4702 */
|
||||||
//#define CONFIG_TUNER SI4700
|
#define CONFIG_TUNER SI4700
|
||||||
/* #define HAVE_TUNER_PWR_CTRL */
|
/* #define HAVE_TUNER_PWR_CTRL */
|
||||||
|
|
||||||
/* Define this for LCD backlight available */
|
/* Define this for LCD backlight available */
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
#include "generic_i2c.h"
|
#include "generic_i2c.h"
|
||||||
#include "fmradio_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(x) GPIOB_PIN(x)
|
||||||
#define I2C_GPIO_DIR GPIOB_DIR
|
#define I2C_GPIO_DIR GPIOB_DIR
|
||||||
#define I2C_SCL_PIN 4
|
#define I2C_SCL_PIN 4
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue