forked from len0rd/rockbox
FM tuner region code cleanup - FS #11492 by me.
This removes the tuner-specific region structs and makes each driver use the common one (which is now extended with a deemphasis field) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27579 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6087d89603
commit
adc472bec5
14 changed files with 53 additions and 162 deletions
|
|
@ -27,14 +27,6 @@
|
|||
|
||||
#define HAVE_RADIO_REGION
|
||||
|
||||
struct rda5802_region_data
|
||||
{
|
||||
unsigned char deemphasis; /* 0: 75us, 1: 50us */
|
||||
unsigned char band; /* 0: us/europe, 1: japan */
|
||||
} __attribute__((packed));
|
||||
|
||||
extern const struct rda5802_region_data rda5802_region_data[TUNER_NUM_REGIONS];
|
||||
|
||||
struct rda5802_dbg_info
|
||||
{
|
||||
uint16_t regs[16]; /* Read registers */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue