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:
commit
7a7d7f051b
|
|
@ -989,11 +989,12 @@ void ec_fsm_master_state_scan_slave(
|
||||||
master->scan_index = master->slave_count;
|
master->scan_index = master->slave_count;
|
||||||
wake_up_interruptible(&master->scan_queue);
|
wake_up_interruptible(&master->scan_queue);
|
||||||
|
|
||||||
ec_master_calc_dc(master);
|
|
||||||
|
|
||||||
// Attach slave configurations
|
// Attach slave configurations
|
||||||
ec_master_attach_slave_configs(master);
|
ec_master_attach_slave_configs(master);
|
||||||
|
|
||||||
|
// Calculate DC (needs attached slaves due to reference clock selection)
|
||||||
|
ec_master_calc_dc(master);
|
||||||
|
|
||||||
#ifdef EC_EOE
|
#ifdef EC_EOE
|
||||||
// check if EoE processing has to be started
|
// check if EoE processing has to be started
|
||||||
ec_master_eoe_start(master);
|
ec_master_eoe_start(master);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue