From 9d3bd97e41c54e1c54b40ae15a15d314098b5038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Tue, 30 Mar 2010 19:21:30 +0000 Subject: [PATCH] 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 --- apps/recorder/radio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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