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
|
|
@ -26,14 +26,6 @@
|
|||
#define HAVE_RADIO_REGION
|
||||
#define HAVE_RADIO_MUTE_TIMEOUT
|
||||
|
||||
struct tea5767_region_data
|
||||
{
|
||||
unsigned char deemphasis; /* 0: 50us, 1: 75us */
|
||||
unsigned char band; /* 0: europe, 1: japan (BL in TEA spec)*/
|
||||
} __attribute__((packed));
|
||||
|
||||
extern const struct tea5767_region_data tea5767_region_data[TUNER_NUM_REGIONS];
|
||||
|
||||
struct tea5767_dbg_info
|
||||
{
|
||||
unsigned char read_regs[5];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue