# HG changeset patch # User Florian Pose # Date 1288014979 -7200 # Node ID ba8a75cb1c98bda451dcc83685c6c4b493388f77 # Parent 00e18cef9fc874487f0055a80c3ebf31b35d8583 Fixed TIMESPEC2NS() macro use. diff -r 00e18cef9fc8 -r ba8a75cb1c98 examples/dc_user/main.c --- a/examples/dc_user/main.c Mon Oct 25 15:46:23 2010 +0200 +++ b/examples/dc_user/main.c Mon Oct 25 15:56:19 2010 +0200 @@ -231,7 +231,7 @@ // 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--;