oneshot/oneshot_main.c: fix printf warning

fix printf warning in examples/oneshot

Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
p-szafonimateusz 2024-06-28 18:53:45 +02:00 committed by Alan Carvalho de Assis
parent 42b16e3004
commit 097ed5c27d

View File

@ -208,8 +208,8 @@ int main(int argc, FAR char *argv[])
{
/* Wait for the maximum */
printf("Starting oneshot timer with delay %llu microseconds\n",
maxus);
printf("Starting oneshot timer with delay %" PRId64
" microseconds\n", maxus);
start.ts.tv_sec = ts.tv_sec;
start.ts.tv_nsec = ts.tv_nsec;