From 16a71a19a80932702cc2c03425ee0f831613b1b7 Mon Sep 17 00:00:00 2001 From: Wolfram Sang Date: Sat, 20 Nov 2021 23:03:55 +0100 Subject: 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 --- apps/debug_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit