diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2010-05-24 20:12:10 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2010-05-24 20:12:10 +0000 |
commit | e236b9574641302d02e4d044ed78a65e9ae6fdc2 (patch) | |
tree | 7c560c9397de3670e2448587050591c05eae436d /apps/radio | |
parent | 06601e5fbaa772bdfe4265c19ff75c3f8c24e223 (diff) | |
download | rockbox-e236b9574641302d02e4d044ed78a65e9ae6fdc2.tar.gz rockbox-e236b9574641302d02e4d044ed78a65e9ae6fdc2.zip |
Si4700 tuner: It doesn't like to do i2c while powered off and hangs the bus. Make 'pause' simply be 'mute', allowing tuning during user mute as well as nicer-sounding unmute.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26269 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/radio')
-rw-r--r-- | apps/radio/radio.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/radio/radio.c b/apps/radio/radio.c index b3540610f1..403d1ae36f 100644 --- a/apps/radio/radio.c +++ b/apps/radio/radio.c | |||
@@ -279,7 +279,9 @@ void radio_pause(void) | |||
279 | } | 279 | } |
280 | 280 | ||
281 | tuner_set(RADIO_MUTE, 1); | 281 | tuner_set(RADIO_MUTE, 1); |
282 | tuner_set(RADIO_SLEEP, 1); | 282 | /* For si4700: 2==this is really 'pause'. other tuners treat it |
283 | * like 'bool'. */ | ||
284 | tuner_set(RADIO_SLEEP, 2); | ||
283 | 285 | ||
284 | radio_status = FMRADIO_PAUSED; | 286 | radio_status = FMRADIO_PAUSED; |
285 | } /* radio_pause */ | 287 | } /* radio_pause */ |