Tag XLX reflectors as Wires-X capable, allowing passthrough

This commit is contained in:
narspt 2020-02-26 07:43:04 +00:00 committed by GitHub
parent 0e018f1676
commit c3eaac41ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -139,7 +139,11 @@ bool CYSFReflectors::load()
refl->m_port = (unsigned int)::atoi(p5);
refl->m_count = std::string(p6);
refl->m_type = YT_YSF;
refl->m_wiresX = false;
if (refl->m_name.compare(0, 3, "XLX") == 0)
refl->m_wiresX = true;
else
refl->m_wiresX = false;
refl->m_name.resize(16U, ' ');
refl->m_desc.resize(14U, ' ');