1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/xtimer_msg: Use %lu to print times

This commit is contained in:
Marian Buschsieweke 2020-04-23 20:37:05 +02:00
parent 7b67e74bed
commit 1b44066dbd
No known key found for this signature in database
GPG Key ID: 61F64C6599B1539F

View File

@ -60,7 +60,7 @@ void *timer_thread(void *arg)
msg_receive(&m);
struct timer_msg *tmsg = m.content.ptr;
uint32_t now = xtimer_now_usec();
printf("now=%" PRIu32 ":%" PRIu32 " -> every %" PRIu32 ".%" PRIu32 "s: %s\n",
printf("now=%lu:%lu -> every %lu.%lus: %s\n",
(now / US_PER_SEC),
(now % US_PER_SEC),
tmsg->interval / US_PER_SEC,