summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-30 19:21:30 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-30 19:21:30 +0000
commit9d3bd97e41c54e1c54b40ae15a15d314098b5038 (patch)
tree3091bcc7875aaf592e713662bf87210604975774 /apps
parent11c9be9c831399508b3d0128290349bc71c97520 (diff)
Make sure FM Tuner is stopped at init
Author: Doru Barbu Flyspray: FS#11152 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25403 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/radio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 9e891389bd..e6e51d976c 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -127,7 +127,8 @@ static int curr_freq; /* current frequency in Hz */
static int radio_mode = RADIO_SCAN_MODE;
static int search_dir = 0;
-static int radio_status = FMRADIO_OFF;
+/* make sure that radio_stop() does a full run after rockbox boots */
+static int radio_status = FMRADIO_PLAYING;
static bool in_screen = false;
#define MAX_PRESETS 64