mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-06 11:51:45 +08:00
Fixed TIMESPEC2NS() macro use.
This commit is contained in:
@@ -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--;
|
||||
|
||||
Reference in New Issue
Block a user