diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-07-26 20:15:16 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-07-26 20:15:16 +0000 |
commit | adc472bec522e5b8bd34302cb3267cfb9a12d12c (patch) | |
tree | 394ca78314cb2ece1fd5412f8870868e608be813 /firmware/export/ipod_remote_tuner.h | |
parent | 6087d8960328b427f495d46d74664a4b0e32af17 (diff) | |
download | rockbox-adc472bec522e5b8bd34302cb3267cfb9a12d12c.tar.gz rockbox-adc472bec522e5b8bd34302cb3267cfb9a12d12c.zip |
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
Diffstat (limited to 'firmware/export/ipod_remote_tuner.h')
-rw-r--r-- | firmware/export/ipod_remote_tuner.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/firmware/export/ipod_remote_tuner.h b/firmware/export/ipod_remote_tuner.h index 28fcfe1e93..2c866ad3d2 100644 --- a/firmware/export/ipod_remote_tuner.h +++ b/firmware/export/ipod_remote_tuner.h | |||
@@ -48,19 +48,6 @@ extern void rmt_tuner_signal_power(unsigned char value); | |||
48 | 48 | ||
49 | extern void rmt_tuner_rds_data(void); | 49 | extern void rmt_tuner_rds_data(void); |
50 | 50 | ||
51 | struct rmt_tuner_region_data | ||
52 | { | ||
53 | /* 0: 50us, 1: 75us */ | ||
54 | unsigned char deemphasis; | ||
55 | /* 0: europe, 1: japan (BL in TEA spec)*/ | ||
56 | unsigned char band; | ||
57 | /* 0: us/australia (200kHz), 1: europe/japan (100kHz), 2: (50kHz) */ | ||
58 | unsigned char spacing; | ||
59 | } __attribute__((packed)); | ||
60 | |||
61 | extern const struct rmt_tuner_region_data | ||
62 | rmt_tuner_region_data[TUNER_NUM_REGIONS]; | ||
63 | |||
64 | int ipod_rmt_tuner_set(int setting, int value); | 51 | int ipod_rmt_tuner_set(int setting, int value); |
65 | int ipod_rmt_tuner_get(int setting); | 52 | int ipod_rmt_tuner_get(int setting); |
66 | char* ipod_get_rds_info(int setting); | 53 | char* ipod_get_rds_info(int setting); |