Fixed TIMESPEC2NS() macro use.
This commit is contained in:
parent
6118dbd7e4
commit
90419f4b31
|
|
@ -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--;
|
||||
|
|
|
|||
Loading…
Reference in New Issue