Update YSF2DMR.cpp

Added resending of 400x TG on XLX reconnection
This commit is contained in:
Marius Petrescu, YO2LOJ 2019-05-11 19:36:19 +03:00 committed by GitHub
parent 6a30724dce
commit 1448af703c
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) {