Alter reconnection behaviour

Allow XLX to go back to where you were once network restored (used to relink to default XLX room)
This commit is contained in:
Tony Corbett, G0WFV
2017-10-04 15:50:57 +01:00
parent 0d13b2247d
commit 1d08926da2

View File

@@ -396,7 +396,6 @@ int CDMRGateway::run()
if (voice != NULL)
voice->unlinked();
m_xlxReflector = 4000U;
m_xlxConnected = false;
m_xlxRelink.stop();
} else if (connected && m_xlxRelink.isRunning() && m_xlxRelink.hasExpired()) {
@@ -1193,7 +1192,7 @@ bool CDMRGateway::linkXLX(unsigned int number)
m_xlxNumber = number;
m_xlxRoom = reflector->m_startup;
m_xlxReflector = 4000U;
m_xlxReflector = 4000U;
LogMessage("XLX, Connecting to XLX%03u", m_xlxNumber);