mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-30 05:40:45 +00:00
test: fix timerjitter data style error
Fix timerjitter output formatting for date/time fields to match expected format and improve test result readability. Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
This commit is contained in:
parent
6249f22f97
commit
df48348fca
1 changed files with 2 additions and 1 deletions
|
|
@ -192,7 +192,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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue