diff -r 979a7b26036d -r e77728ddf0f9 include/ecrt.h --- a/include/ecrt.h Thu Apr 09 10:18:27 2009 +0000 +++ b/include/ecrt.h Thu Apr 09 10:21:47 2009 +0000 @@ -44,7 +44,7 @@ * - Added the distributed clocks feature and the respective methods * ecrt_slave_config_dc_assign_activate() and * ecrt_slave_config_dc_sync_cycle_times() to configure a slave for cyclic - * operation. + * operation, and ecrt_master_sync() for drift compensation. * - Changed the meaning of the negative return values of * ecrt_slave_config_reg_pdo_entry() and ecrt_slave_config_sdo*(). * - Imlemented the Vendor-specific over EtherCAT mailbox protocol. See @@ -504,6 +504,12 @@ ec_master_state_t *state /**< Structure to store the information. */ ); +/** Queues the DC drift compensation datagram for sending. + */ +void ecrt_master_sync( + ec_master_t *master /**< EtherCAT master. */ + ); + /****************************************************************************** * Slave configuration methods *****************************************************************************/