examples/rtai_rtdm_dc/main.c
branchstable-1.5
changeset 2523 c5c81a52fc30
parent 2447 e93efb4af231
--- a/examples/rtai_rtdm_dc/main.c	Tue Feb 12 15:46:43 2013 +0100
+++ b/examples/rtai_rtdm_dc/main.c	Tue Feb 12 16:37:11 2013 +0100
@@ -503,6 +503,11 @@
      */
     dc_start_time_ns = system_time_ns();
     dc_time_ns = dc_start_time_ns;
+
+    /* Attention: The initial application time is also used for phase
+     * calculation for the SYNC0/1 interrupts. Please be sure to call it at
+     * the correct phase to the realtime cycle.
+     */
     ecrt_master_application_time(master, dc_start_time_ns);
 
     ret = ecrt_master_select_reference_clock(master, sc_ek1100);