master/fsm_slave_scan.h
changeset 831 ded9519c8d6e
parent 830 d83d92e1a919
child 879 9b395c5646ab
--- a/master/fsm_slave_scan.h	Tue Feb 26 13:20:32 2008 +0000
+++ b/master/fsm_slave_scan.h	Tue Feb 26 16:58:20 2008 +0000
@@ -49,6 +49,7 @@
 #include "fsm_sii.h"
 #include "fsm_change.h"
 #include "fsm_coe.h"
+#include "fsm_coe_map.h"
 #include "fsm_pdo_mapping.h"
 #include "fsm_pdo_config.h"
 
@@ -63,6 +64,9 @@
 {
     ec_slave_t *slave; /**< Slave the FSM runs on. */
     ec_datagram_t *datagram; /**< Datagram used in the state machine. */
+    ec_fsm_slave_config_t *fsm_slave_config; /**< Slave configuration state
+                                               machine to use. */
+    ec_fsm_coe_map_t *fsm_coe_map; /**< Pdo mapping state machine to use. */
     unsigned int retries; /**< Retries on datagram timeout. */
 
     void (*state)(ec_fsm_slave_scan_t *); /**< State function. */
@@ -73,7 +77,8 @@
 
 /*****************************************************************************/
 
-void ec_fsm_slave_scan_init(ec_fsm_slave_scan_t *, ec_datagram_t *);
+void ec_fsm_slave_scan_init(ec_fsm_slave_scan_t *, ec_datagram_t *,
+        ec_fsm_slave_config_t *, ec_fsm_coe_map_t *);
 void ec_fsm_slave_scan_clear(ec_fsm_slave_scan_t *);
 
 void ec_fsm_slave_scan_start(ec_fsm_slave_scan_t *, ec_slave_t *);