Merge pull request #23 from yo2loj/master

Update YSF2DMR.cpp
This commit is contained in:
Andy CA6JAU 2019-05-11 12:44:42 -04:00 committed by GitHub
commit e375e1f515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -356,6 +356,10 @@ int CYSF2DMR::run()
LogMessage("XLX, Linking to reflector XLX%03u, module %s", m_xlxrefl, m_xlxmodule.c_str());
m_xlxConnected = true;
}
else if (!m_dmrNetwork->isConnected() && !m_xlxmodule.empty() && m_xlxConnected) {
LogMessage("XLX, Disconnected from reflector XLX%03u, module %s", m_xlxrefl, m_xlxmodule.c_str());
m_xlxConnected = false;
}
if (m_wiresX != NULL) {
switch (TG_connect_state) {