mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/ztimer64: PRIu64 requires stdio before inttypes
This commit is contained in:
parent
617eb359c0
commit
6321a958a9
@ -23,6 +23,8 @@
|
||||
*/
|
||||
#include <assert.h>
|
||||
#include <stdint.h>
|
||||
/* stdio.h needs to be included before inttypes.h (newlibc) */
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "ztimer64.h"
|
||||
@ -294,9 +296,7 @@ void ztimer64_clock_print(const ztimer64_clock_t *clock)
|
||||
const ztimer64_base_t *entry = clock->first;
|
||||
|
||||
while (entry) {
|
||||
printf("0x%08x:%" PRIu64 "\n", (unsigned)entry,
|
||||
entry->target);
|
||||
|
||||
printf("0x%08x:%" PRIu64 "\n", (unsigned)entry, entry->target);
|
||||
entry = entry->next;
|
||||
}
|
||||
puts("");
|
||||
|
Loading…
Reference in New Issue
Block a user