Skip to content

Commit

Permalink
test:fix timerjitter data style error
Browse files Browse the repository at this point in the history
  • Loading branch information
txy-21 committed Jan 14, 2025
1 parent 5eeed99 commit 7524870
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testing/timerjitter/timerjitter.c
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ static FAR void *timerjitter(FAR void *arg)
diff = calc_diff(&now, &next);
if (param->print)
{
printf("diff %lu, now %lu.%lu\n", diff, now.tv_sec, now.tv_nsec);
printf("diff %"PRId64", now %"PRId64".%09lu\n", diff, now.tv_sec,
now.tv_nsec);
}

if (diff > param->max)
Expand Down

0 comments on commit 7524870

Please sign in to comment.