--- a/master/fsm_coe.h Mon Mar 14 11:24:15 2011 +0100
+++ b/master/fsm_coe.h Tue Apr 05 08:27:05 2011 +0200
@@ -39,6 +39,7 @@
#include "globals.h"
#include "datagram.h"
+#include "mailbox.h"
#include "slave.h"
#include "sdo.h"
#include "sdo_request.h"
@@ -51,7 +52,7 @@
*/
struct ec_fsm_coe {
ec_slave_t *slave; /**< slave the FSM runs on */
- ec_datagram_t *datagram; /**< datagram used in the state machine */
+ ec_mailbox_t *mbox; /**< mailbox used in the state machine */
unsigned int retries; /**< retries upon datagram timeout */
void (*state)(ec_fsm_coe_t *); /**< CoE state function */
@@ -67,7 +68,7 @@
/*****************************************************************************/
-void ec_fsm_coe_init(ec_fsm_coe_t *, ec_datagram_t *);
+void ec_fsm_coe_init(ec_fsm_coe_t *, ec_mailbox_t *);
void ec_fsm_coe_clear(ec_fsm_coe_t *);
void ec_fsm_coe_dictionary(ec_fsm_coe_t *, ec_slave_t *);