author | Florian Pose <fp@igh-essen.com> |
Mon, 25 Oct 2010 15:56:19 +0200 | |
changeset 1971 | ba8a75cb1c98 |
parent 1970 | 00e18cef9fc8 |
child 1972 | c1b564299829 |
--- 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--;