diff options
Diffstat (limited to 'firmware/drivers/tuner/ipod_remote_tuner.c')
-rw-r--r-- | firmware/drivers/tuner/ipod_remote_tuner.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/drivers/tuner/ipod_remote_tuner.c b/firmware/drivers/tuner/ipod_remote_tuner.c index e283ddfb68..9595939f1d 100644 --- a/firmware/drivers/tuner/ipod_remote_tuner.c +++ b/firmware/drivers/tuner/ipod_remote_tuner.c | |||
@@ -42,9 +42,6 @@ static int tuner_frequency = 0; | |||
42 | static int tuner_signal_power = 0; | 42 | static int tuner_signal_power = 0; |
43 | static bool radio_tuned = false; | 43 | static bool radio_tuned = false; |
44 | 44 | ||
45 | static char rds_radioname[9]; | ||
46 | static char rds_radioinfo[65]; | ||
47 | |||
48 | static void rmt_tuner_signal_power(unsigned char value) | 45 | static void rmt_tuner_signal_power(unsigned char value) |
49 | { | 46 | { |
50 | tuner_signal_power = (int)(value); | 47 | tuner_signal_power = (int)(value); |
@@ -68,9 +65,8 @@ static void rmt_tuner_set_freq(int curr_freq) | |||
68 | { | 65 | { |
69 | radio_tuned = false; | 66 | radio_tuned = false; |
70 | tuner_signal_power = 0; | 67 | tuner_signal_power = 0; |
71 | /* clear rds name and info */ | 68 | /* clear rds data */ |
72 | memset(rds_radioname,' ',sizeof(rds_radioname)); | 69 | rds_reset(); |
73 | memset(rds_radioinfo,' ',sizeof(rds_radioinfo)); | ||
74 | /* ex: 00 01 63 14 = 90.9MHz */ | 70 | /* ex: 00 01 63 14 = 90.9MHz */ |
75 | unsigned char data[] = {0x07, 0x0B, 0x00, 0x01, 0x63, 0x14}; | 71 | unsigned char data[] = {0x07, 0x0B, 0x00, 0x01, 0x63, 0x14}; |
76 | 72 | ||