diff options
Diffstat (limited to 'firmware/drivers/tuner/ipod_remote_tuner.c')
-rw-r--r-- | firmware/drivers/tuner/ipod_remote_tuner.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/firmware/drivers/tuner/ipod_remote_tuner.c b/firmware/drivers/tuner/ipod_remote_tuner.c index ad84cb9890..8b599cb79c 100644 --- a/firmware/drivers/tuner/ipod_remote_tuner.c +++ b/firmware/drivers/tuner/ipod_remote_tuner.c | |||
@@ -31,8 +31,6 @@ | |||
31 | #include "settings.h" | 31 | #include "settings.h" |
32 | #include "power.h" | 32 | #include "power.h" |
33 | 33 | ||
34 | static bool powered = false; | ||
35 | |||
36 | static unsigned char tuner_param = 0x00, old_tuner_param = 0xFF; | 34 | static unsigned char tuner_param = 0x00, old_tuner_param = 0xFF; |
37 | /* temp var for tests to avoid looping execution in submenus settings*/ | 35 | /* temp var for tests to avoid looping execution in submenus settings*/ |
38 | static int mono_mode = -1, old_region = -1; | 36 | static int mono_mode = -1, old_region = -1; |
@@ -150,7 +148,6 @@ static void rmt_tuner_scan(int param) | |||
150 | iap_send_pkt(data1, sizeof(data1)); | 148 | iap_send_pkt(data1, sizeof(data1)); |
151 | } | 149 | } |
152 | 150 | ||
153 | #if 0 /* function is not used */ | ||
154 | static void rmt_tuner_mute(int value) | 151 | static void rmt_tuner_mute(int value) |
155 | { | 152 | { |
156 | /* mute flag off (play) */ | 153 | /* mute flag off (play) */ |
@@ -162,7 +159,6 @@ static void rmt_tuner_mute(int value) | |||
162 | } | 159 | } |
163 | iap_send_pkt(data, sizeof(data)); | 160 | iap_send_pkt(data, sizeof(data)); |
164 | } | 161 | } |
165 | #endif | ||
166 | 162 | ||
167 | static void rmt_tuner_region(int region) | 163 | static void rmt_tuner_region(int region) |
168 | { | 164 | { |
@@ -362,7 +358,7 @@ int ipod_rmt_tuner_set(int setting, int value) | |||
362 | case RADIO_MUTE: | 358 | case RADIO_MUTE: |
363 | { | 359 | { |
364 | /* mute flag sent to accessory */ | 360 | /* mute flag sent to accessory */ |
365 | /* rmt_tuner_mute(value); */ | 361 | rmt_tuner_mute(value); |
366 | break; | 362 | break; |
367 | } | 363 | } |
368 | 364 | ||
@@ -453,10 +449,3 @@ char* ipod_get_rds_info(int setting) | |||
453 | } | 449 | } |
454 | return text; | 450 | return text; |
455 | } | 451 | } |
456 | |||
457 | bool tuner_power(bool status) | ||
458 | { | ||
459 | bool oldstatus = powered; | ||
460 | powered = status; | ||
461 | return oldstatus; | ||
462 | } | ||