13
0

L: do not add main outs proc to a RouteIOs list for livetrax

This commit is contained in:
Paul Davis 2024-05-29 22:36:30 -06:00
parent c98ec4456d
commit 44ee16a5ac

View File

@ -300,6 +300,14 @@ PortGroupList::maybe_add_processor_to_list (std::weak_ptr<Processor> wp, list<st
return; return;
} }
#ifdef LIVETRAX
std::shared_ptr<Delivery> d = std::dynamic_pointer_cast<Delivery> (p);
if (d && d->role() == Delivery::Main) {
return;
}
#endif
std::shared_ptr<IOProcessor> iop = std::dynamic_pointer_cast<IOProcessor> (p); std::shared_ptr<IOProcessor> iop = std::dynamic_pointer_cast<IOProcessor> (p);
if (iop) { if (iop) {