summaryrefslogtreecommitdiff
path: root/apps/recorder/radio.c
diff options
context:
space:
mode:
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);