1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Wolfram Sang 2021-11-20 23:03:55 +01:00
parent 336ea51af6
commit 16a71a19a8

View file

@ -2097,7 +2097,7 @@ static int radio_callback(int btn, struct gui_synclist *lists)
struct tm* time = gmtime(&seconds); struct tm* time = gmtime(&seconds);
simplelist_addline( 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_year + 1900, time->tm_mon + 1, time->tm_mday,
time->tm_hour, time->tm_min, time->tm_sec); time->tm_hour, time->tm_min, time->tm_sec);
} }