--- a/master/fsm_slave_config.c Mon Apr 07 15:47:22 2008 +0000
+++ b/master/fsm_slave_config.c Mon Apr 07 15:58:27 2008 +0000
@@ -568,9 +568,9 @@
}
// Start configuring Pdo mapping
+ ec_fsm_pdo_mapping_start(&fsm->fsm_pdo_mapping, fsm->slave);
fsm->state = ec_fsm_slave_config_state_pdo_mapping;
- ec_fsm_pdo_mapping_start(&fsm->fsm_pdo_mapping, fsm->slave);
- ec_fsm_pdo_mapping_exec(&fsm->fsm_pdo_mapping); // execute immediately
+ fsm->state(fsm); // execute immediately
}
/*****************************************************************************/
@@ -594,9 +594,9 @@
}
// start applying alternate Pdo assignments
+ ec_fsm_pdo_assign_start(&fsm->fsm_pdo_assign, fsm->slave);
fsm->state = ec_fsm_slave_config_state_pdo_assign;
- ec_fsm_pdo_assign_start(&fsm->fsm_pdo_assign, fsm->slave);
- ec_fsm_pdo_assign_exec(&fsm->fsm_pdo_assign); // execute immediately
+ fsm->state(fsm); // execute immediately
}
/*****************************************************************************/