mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 06:53:52 +01:00
tests/ztimer_msg: Use %lu to print times
This commit is contained in:
parent
1b44066dbd
commit
9f75501322
@ -69,7 +69,7 @@ void *timer_thread(void *arg)
|
||||
msg_receive(&m);
|
||||
struct timer_msg *tmsg = m.content.ptr;
|
||||
uint32_t now = ztimer_now(ZTIMER);
|
||||
printf("now=%" PRIu32 ":%" PRIu32 " -> every %" PRIu32 ".%" PRIu32 "s: %s\n",
|
||||
printf("now=%lu:%lu -> every %lu.%lus: %s\n",
|
||||
(now / TICKS_PER_SEC),
|
||||
(now % TICKS_PER_SEC),
|
||||
tmsg->interval / TICKS_PER_SEC,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user