diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-03 15:39:40 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2003-05-03 15:39:40 +0000 |
commit | 23b0fdaca1061c86b2d8e71a9f281d5c3e13736b (patch) | |
tree | 981168cd3cf72507b39dec55be94b57d5a0a43f9 /apps | |
parent | 568baaf81a2bcb01fedd22cc88092c6e83cbdd04 (diff) | |
download | rockbox-23b0fdaca1061c86b2d8e71a9f281d5c3e13736b.tar.gz rockbox-23b0fdaca1061c86b2d8e71a9f281d5c3e13736b.zip |
Idle poweroff fix for FM radio, as suggested by Mike Holden
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3645 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/recorder/radio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index dc286fb222..4f6fca4fa3 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c | |||
@@ -69,7 +69,8 @@ bool radio_screen(void) | |||
69 | lcd_clear_display(); | 69 | lcd_clear_display(); |
70 | lcd_setmargins(0, 8); | 70 | lcd_setmargins(0, 8); |
71 | status_draw(false); | 71 | status_draw(false); |
72 | 72 | fmradio_set_status(FMRADIO_PLAYING); | |
73 | |||
73 | /* Enable the Left and right A/D Converter */ | 74 | /* Enable the Left and right A/D Converter */ |
74 | mas_codec_writereg(0x0, 0xccc7); | 75 | mas_codec_writereg(0x0, 0xccc7); |
75 | 76 | ||
@@ -182,6 +183,8 @@ bool radio_screen(void) | |||
182 | break; | 183 | break; |
183 | } | 184 | } |
184 | } | 185 | } |
186 | |||
187 | fmradio_set_status(0); | ||
185 | return false; | 188 | return false; |
186 | } | 189 | } |
187 | #endif | 190 | #endif |