Completely disable SII reading during scan to estimate benefit of SII caching.

This commit is contained in:
Florian
2024-04-25 10:56:42 +02:00
parent 3079ece7a2
commit 4417467a83

View File

@@ -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,11 +929,7 @@ 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;
}
fsm->state = ec_fsm_slave_scan_state_end;
}
#endif // defined EC_REGALIAS