mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
The mystery FM chip in some Sansa Clip+ players has been identified as a RDA5802, so rename files and functions. Also fix several bugs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26871 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
60d5f5050b
commit
ff8e76e9e5
9 changed files with 126 additions and 121 deletions
|
@ -89,8 +89,8 @@ const struct si4700_region_data si4700_region_data[TUNER_NUM_REGIONS] =
|
|||
};
|
||||
#endif /* (CONFIG_TUNER & SI4700) */
|
||||
|
||||
#if (CONFIG_TUNER & FMCLIPPLUS)
|
||||
const struct fmclipplus_region_data fmclipplus_region_data[TUNER_NUM_REGIONS] =
|
||||
#if (CONFIG_TUNER & RDA5802)
|
||||
const struct rda5802_region_data rda5802_region_data[TUNER_NUM_REGIONS] =
|
||||
{
|
||||
[REGION_EUROPE] = { 1, 0 }, /* 50uS, US/Europe band */
|
||||
[REGION_US_CANADA] = { 0, 0 }, /* 75uS, US/Europe band */
|
||||
|
@ -99,7 +99,7 @@ const struct fmclipplus_region_data fmclipplus_region_data[TUNER_NUM_REGIONS] =
|
|||
[REGION_ITALY] = { 1, 0 }, /* 50uS, US/Europe band */
|
||||
[REGION_OTHER] = { 1, 0 }, /* 50uS, US/Europe band */
|
||||
};
|
||||
#endif /* (CONFIG_TUNER & FMCLIPPLUS) */
|
||||
#endif /* (CONFIG_TUNER & RDA5802) */
|
||||
|
||||
#if (CONFIG_TUNER & IPOD_REMOTE_TUNER)
|
||||
const struct rmt_tuner_region_data
|
||||
|
@ -163,11 +163,11 @@ void tuner_init(void)
|
|||
si4700_get,
|
||||
si4700_init())
|
||||
#endif
|
||||
#if (CONFIG_TUNER & FMCLIPPLUS)
|
||||
TUNER_TYPE_CASE(FMCLIPPLUS,
|
||||
fmclipplus_set,
|
||||
fmclipplus_get,
|
||||
fmclipplus_init())
|
||||
#if (CONFIG_TUNER & RDA5802)
|
||||
TUNER_TYPE_CASE(RDA5802,
|
||||
rda5802_set,
|
||||
rda5802_get,
|
||||
rda5802_init())
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue