summaryrefslogtreecommitdiffstats
path: root/apps/recorder/radio.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-05-12 11:44:09 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-05-12 11:44:09 +0000
commita5d8d215964b31c3257083846dab71af51eb1af2 (patch)
tree37adcb974089c139638dc8c86c4c78f36284372f /apps/recorder/radio.c
parent7b931f0a5a7dc90bc488c9f521ed5aeae42f8d73 (diff)
downloadrockbox-a5d8d215964b31c3257083846dab71af51eb1af2.tar.gz
rockbox-a5d8d215964b31c3257083846dab71af51eb1af2.zip
fix the last of the reds, and make RDS tags actually work (and add them to the hardcoded radio skin)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25966 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/radio.c')
-rw-r--r--apps/recorder/radio.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 10ae109739..6e79adf302 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -520,7 +520,11 @@ void fms_data_load(enum screen_type screen, const char *buf, bool isfile)
#if CONFIG_CODEC != SWCODEC && !defined(SIMULATOR)
"%?Rr<%Sx|Time:| %Rh:%Rn:%Rs|"
"%?St|prerecording time|<%Sx|Prerecord Time| %Rs|%pm>>\n"
-#endif
+#endif
+#ifdef HAVE_RDS_CAP
+ "\n%s%ty\n"
+ "%s%tz\n"
+#endif
;
skin_data_load(screen, data, default_fms, false);
}
@@ -593,7 +597,6 @@ int radio_screen(void)
bool have_recorded = false;
int timeout = current_tick + HZ/10;
unsigned int last_seconds = 0;
- int hours, minutes;
#ifndef SIMULATOR
unsigned int seconds = 0;
struct audio_recording_options rec_options;