diff options
Diffstat (limited to 'apps/radio')
-rw-r--r-- | apps/radio/radio.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c index e9de69b1ce..9f139f49a6 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c | |||
@@ -192,9 +192,6 @@ void radio_start(void) | |||
192 | /* clear flag before any yielding */ | 192 | /* clear flag before any yielding */ |
193 | radio_status &= ~FMRADIO_START_PAUSED; | 193 | radio_status &= ~FMRADIO_START_PAUSED; |
194 | 194 | ||
195 | if(radio_status == FMRADIO_OFF) | ||
196 | tuner_power(true); | ||
197 | |||
198 | curr_freq = global_status.last_frequency * fmr->freq_step + fmr->freq_min; | 195 | curr_freq = global_status.last_frequency * fmr->freq_step + fmr->freq_min; |
199 | 196 | ||
200 | tuner_set(RADIO_SLEEP, 0); /* wake up the tuner */ | 197 | tuner_set(RADIO_SLEEP, 0); /* wake up the tuner */ |
@@ -246,9 +243,6 @@ void radio_pause(void) | |||
246 | } | 243 | } |
247 | 244 | ||
248 | tuner_set(RADIO_MUTE, 1); | 245 | tuner_set(RADIO_MUTE, 1); |
249 | /* For si4700: 2==this is really 'pause'. other tuners treat it | ||
250 | * like 'bool'. */ | ||
251 | tuner_set(RADIO_SLEEP, 2); | ||
252 | 246 | ||
253 | radio_status = FMRADIO_PAUSED; | 247 | radio_status = FMRADIO_PAUSED; |
254 | } /* radio_pause */ | 248 | } /* radio_pause */ |
@@ -258,7 +252,6 @@ static void radio_off(void) | |||
258 | tuner_set(RADIO_MUTE, 1); | 252 | tuner_set(RADIO_MUTE, 1); |
259 | tuner_set(RADIO_SLEEP, 1); /* low power mode, if available */ | 253 | tuner_set(RADIO_SLEEP, 1); /* low power mode, if available */ |
260 | radio_status = FMRADIO_OFF; | 254 | radio_status = FMRADIO_OFF; |
261 | tuner_power(false); /* status update, power off if avail. */ | ||
262 | } | 255 | } |
263 | 256 | ||
264 | void radio_stop(void) | 257 | void radio_stop(void) |