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 (datagram->working_counter != 1) {
|
||||||
if (!slave->error_flag) {
|
if (!slave->error_flag) {
|
||||||
slave->error_flag = 1;
|
slave->error_flag = 1;
|
||||||
EC_SLAVE_DBG(slave, 1, "Slave did not respond to state query. "
|
EC_SLAVE_DBG(slave, 1, "Slave did not respond to state query.\n");
|
||||||
"Re-scanning on next possibility...\n");
|
|
||||||
}
|
}
|
||||||
fsm->rescan_required = 1;
|
|
||||||
ec_fsm_master_restart(fsm);
|
ec_fsm_master_restart(fsm);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue