Skip to content

Commit f35691f

Browse files
authored
Merge pull request #44 from CESNET/usec_ts_conversion
Increase unirec output timestamp precision
2 parents 57229eb + d6d76c4 commit f35691f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extra_plugins/output/unirec/src/translator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ translator_store_time(const enum fds_iemgr_element_type type_ipx, const uint8_t
524524
return 1;
525525
}
526526

527-
*field_ptr = ur_time_from_sec_msec(ts.tv_sec, ts.tv_nsec / 1000000);
527+
*field_ptr = ur_time_from_sec_usec(ts.tv_sec, ts.tv_nsec / 1000);
528528
return 0;
529529
}
530530

0 commit comments

Comments
 (0)