summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-12 10:59:20 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-12 10:59:20 +0000
commit7b931f0a5a7dc90bc488c9f521ed5aeae42f8d73 (patch)
tree4dfd7af3511bb1b182682c54ec9b3185315900a0 /apps/recorder/radio.c
parent1bd072c92d5f6d4a9a26d738a421f5a05048bb29 (diff)
downloadrockbox-7b931f0a5a7dc90bc488c9f521ed5aeae42f8d73.tar.gz
rockbox-7b931f0a5a7dc90bc488c9f521ed5aeae42f8d73.zip
fix red and yellow (most of it anyway)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25965 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r--apps/recorder/radio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index e8a1154797..10ae109739 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -592,10 +592,12 @@ int radio_screen(void)
592#if CONFIG_CODEC != SWCODEC 592#if CONFIG_CODEC != SWCODEC
593 bool have_recorded = false; 593 bool have_recorded = false;
594 int timeout = current_tick + HZ/10; 594 int timeout = current_tick + HZ/10;
595 unsigned int seconds = 0;
596 unsigned int last_seconds = 0; 595 unsigned int last_seconds = 0;
597 int hours, minutes; 596 int hours, minutes;
597#ifndef SIMULATOR
598 unsigned int seconds = 0;
598 struct audio_recording_options rec_options; 599 struct audio_recording_options rec_options;
600#endif
599#endif /* CONFIG_CODEC != SWCODEC */ 601#endif /* CONFIG_CODEC != SWCODEC */
600#ifndef HAVE_NOISY_IDLE_MODE 602#ifndef HAVE_NOISY_IDLE_MODE
601 int button_timeout = current_tick + (2*HZ); 603 int button_timeout = current_tick + (2*HZ);