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

This reverts commit 4417467a83.
This commit is contained in:
Florian 2024-04-25 11:01:55 +02:00
parent 4417467a83
commit 4ad89af4d4
1 changed files with 6 additions and 6 deletions

View File

@ -529,11 +529,7 @@ void ec_fsm_slave_scan_state_datalink(
#ifdef EC_SII_ASSIGN
ec_fsm_slave_scan_enter_assign_sii(fsm);
#else
#ifdef EC_REGALIAS
ec_fsm_slave_scan_enter_regalias(fsm);
#else
fsm->state = ec_fsm_slave_scan_state_end;
#endif
ec_fsm_slave_scan_enter_sii_size(fsm);
#endif
}
@ -929,7 +925,11 @@ void ec_fsm_slave_scan_state_regalias(
slave->effective_alias);
}
fsm->state = ec_fsm_slave_scan_state_end;
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