Skip to content
Snippets Groups Projects
Commit 275c2996 authored by Florian Pose's avatar Florian Pose
Browse files

Fixed TIMESPEC2NS() macro use.

parent e70a2879
No related branches found
No related tags found
No related merge requests found
......@@ -231,7 +231,7 @@ void cyclic_task()
// write application time to master
clock_gettime(CLOCK_TO_USE, &time);
ecrt_master_application_time(master, timespec2u64(time));
ecrt_master_application_time(master, TIMESPEC2NS(time));
if (sync_ref_counter) {
sync_ref_counter--;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment