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:
parent
336ea51af6
commit
16a71a19a8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue