examples/dc_user/main.c
changeset 1971 ba8a75cb1c98
parent 1970 00e18cef9fc8
child 2421 bc2d4bf9cbe5
--- 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--;