mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-03-23 13:12:39 +08:00
Merge branch 'calc-dc-after-attach' into 'stable-1.6'
Attach slaves before calculating DCs Closes #212 See merge request etherlab.org/ethercat!185
This commit is contained in:
@@ -989,11 +989,12 @@ void ec_fsm_master_state_scan_slave(
|
||||
master->scan_index = master->slave_count;
|
||||
wake_up_interruptible(&master->scan_queue);
|
||||
|
||||
ec_master_calc_dc(master);
|
||||
|
||||
// Attach slave configurations
|
||||
ec_master_attach_slave_configs(master);
|
||||
|
||||
// Calculate DC (needs attached slaves due to reference clock selection)
|
||||
ec_master_calc_dc(master);
|
||||
|
||||
#ifdef EC_EOE
|
||||
// check if EoE processing has to be started
|
||||
ec_master_eoe_start(master);
|
||||
|
||||
Reference in New Issue
Block a user