Commit 24a520ca authored by Serguei Kolos's avatar Serguei Kolos
Browse files

Don't allow to enable E-Links when the corresponding ROB is disabled

parent 46f0a305
......@@ -425,6 +425,10 @@ void Core::ROB::enable(uint32_t lastL1ID) {
void Core::ROB::enableLinks(std::vector<InputLinkId> & links, uint32_t lastL1ID) {
if (not m_enabled) {
std::vector<InputLinkId> original_set(links);
m_builder->enableLinks(links, lastL1ID, 0);
for (auto l : original_set) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment