mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-09-20 17:17:41 +08:00
Fixed bug in master state machine that came up in r745.
This commit is contained in:
+1
-1
@@ -256,7 +256,7 @@ void ec_fsm_master_state_broadcast(ec_fsm_master_t *fsm /**< master state machin
|
||||
|
||||
// begin scanning of slaves
|
||||
fsm->slave = list_entry(master->slaves.next, ec_slave_t, list);
|
||||
ec_fsm_slave_start_scan(&fsm->fsm_slave, slave);
|
||||
ec_fsm_slave_start_scan(&fsm->fsm_slave, fsm->slave);
|
||||
ec_fsm_slave_exec(&fsm->fsm_slave); // execute immediately
|
||||
fsm->state = ec_fsm_master_state_scan_slaves;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user