mirror of
https://gitlab.com/etherlab.org/ethercat.git
synced 2026-02-05 19:39:50 +08:00
Completely disable SII reading during scan to estimate benefit of SII caching.
This commit is contained in:
@@ -529,7 +529,11 @@ void ec_fsm_slave_scan_state_datalink(
|
||||
#ifdef EC_SII_ASSIGN
|
||||
ec_fsm_slave_scan_enter_assign_sii(fsm);
|
||||
#else
|
||||
ec_fsm_slave_scan_enter_sii_size(fsm);
|
||||
#ifdef EC_REGALIAS
|
||||
ec_fsm_slave_scan_enter_regalias(fsm);
|
||||
#else
|
||||
fsm->state = ec_fsm_slave_scan_state_end;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -925,12 +929,8 @@ void ec_fsm_slave_scan_state_regalias(
|
||||
slave->effective_alias);
|
||||
}
|
||||
|
||||
if (slave->sii.mailbox_protocols & EC_MBOX_COE) {
|
||||
ec_fsm_slave_scan_enter_preop(fsm);
|
||||
} else {
|
||||
fsm->state = ec_fsm_slave_scan_state_end;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // defined EC_REGALIAS
|
||||
|
||||
|
||||
Reference in New Issue
Block a user