Should the user space distributed clock example subtract the seconds
elapsed from 1970 to 2000 to get to ethercat time?

#define SEC_ON_JAN_1_2000 946684800
#define TIMESPEC2NS(T) ((uint64_t)((T).tv_sec - SEC_ON_JAN_1_2000) *
NSEC_PER_SEC + (T).tv_nsec)


**********************************************************
Outbound scan for Spam or Virus by Barracuda at Delta Tau
**********************************************************
_______________________________________________
etherlab-dev mailing list
[email protected]
http://lists.etherlab.org/mailman/listinfo/etherlab-dev

Reply via email to