Merge branch 'rescan-statements' into 'stable-1.6'
Avoid rescan on non-responding slave See merge request etherlab.org/ethercat!167
This commit is contained in:
commit
9f1ff71b43
|
|
@ -771,10 +771,8 @@ void ec_fsm_master_state_read_state(
|
|||
if (datagram->working_counter != 1) {
|
||||
if (!slave->error_flag) {
|
||||
slave->error_flag = 1;
|
||||
EC_SLAVE_DBG(slave, 1, "Slave did not respond to state query. "
|
||||
"Re-scanning on next possibility...\n");
|
||||
EC_SLAVE_DBG(slave, 1, "Slave did not respond to state query.\n");
|
||||
}
|
||||
fsm->rescan_required = 1;
|
||||
ec_fsm_master_restart(fsm);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue