master/slave.h
changeset 1586 eb9185dfa8ac
parent 1583 017fa8fd9ac1
child 1596 ea8d2b4ee742
--- a/master/slave.h	Mon Dec 14 13:11:36 2009 +0100
+++ b/master/slave.h	Mon Dec 14 13:25:50 2009 +0100
@@ -45,6 +45,7 @@
 #include "pdo.h"
 #include "sync.h"
 #include "sdo.h"
+#include "fsm_slave.h"
 
 /*****************************************************************************/
 
@@ -157,6 +158,9 @@
     struct list_head sdo_dictionary; /**< SDO dictionary list */
     uint8_t sdo_dictionary_fetched; /**< Dictionary has been fetched. */
     unsigned long jiffies_preop; /**< Time, the slave went to PREOP. */
+
+    ec_fsm_slave_t fsm; /**< Slave state machine. */
+    ec_datagram_t fsm_datagram; /**< Datagram used for state machines. */
 };
 
 /*****************************************************************************/