From 275c29960c7f0f59a00c1396d946a4de68ea6f7c Mon Sep 17 00:00:00 2001 From: Florian Pose <fp@igh-essen.com> Date: Mon, 25 Oct 2010 15:56:19 +0200 Subject: [PATCH] Fixed TIMESPEC2NS() macro use. --- examples/dc_user/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dc_user/main.c b/examples/dc_user/main.c index 2a5341ca..3c885e55 100644 --- a/examples/dc_user/main.c +++ b/examples/dc_user/main.c @@ -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--; -- GitLab