summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2021-11-20 23:03:55 +0100
committerWolfram Sang <wsa@the-dreams.de>2021-11-20 23:06:29 +0100
commit16a71a19a80932702cc2c03425ee0f831613b1b7 (patch)
treef07fa61f026d0304dd3866d2d7fa4df062d9bd9a
parent336ea51af65c8511ba38f0c3ccfdf7634b87c12d (diff)
downloadrockbox-16a71a19a8.tar.gz
rockbox-16a71a19a8.zip
debug_menu: add format specifier for seconds in RDS timestamp
Add the 6th format specifier for the 6th parameter and show seconds, too. Most radio stations will update once per minute only, but still... Change-Id: Ia878bc001c903112df3ed336df260e30eae68e3b
-rw-r--r--apps/debug_menu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 33970da581..23deb6cff2 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -2097,7 +2097,7 @@ static int radio_callback(int btn, struct gui_synclist *lists)
struct tm* time = gmtime(&seconds);
simplelist_addline(
- "CT:%4d-%02d-%02d %02d:%02d",
+ "CT:%4d-%02d-%02d %02d:%02d:%02d",
time->tm_year + 1900, time->tm_mon + 1, time->tm_mday,
time->tm_hour, time->tm_min, time->tm_sec);
}