1
0
Fork 0
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:
Bertrik Sikken 2010-07-26 20:15:16 +00:00
parent 6087d89603
commit adc472bec5
14 changed files with 53 additions and 162 deletions

View file

@ -28,14 +28,6 @@
#define HAVE_RADIO_REGION
struct tea5760_region_data
{
unsigned char deemphasis; /* 1: 50us, 0: 75us */
unsigned char band; /* 0: europe, 1: japan (BL in TEA spec)*/
} __attribute__((packed));
extern const struct tea5760_region_data tea5760_region_data[TUNER_NUM_REGIONS];
struct tea5760_dbg_info
{
unsigned char read_regs[16];