Improved API documentation.

This commit is contained in:
Florian Pose
2013-02-12 16:37:11 +01:00
parent f6f5460485
commit ecda31bb6a
2 changed files with 111 additions and 13 deletions
+5
View File
@@ -503,6 +503,11 @@ int main(int argc, char *argv[])
*/
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);