From 1d08926da2b79431d8940fd94e595e553d1c2a35 Mon Sep 17 00:00:00 2001 From: "Tony Corbett, G0WFV" Date: Wed, 4 Oct 2017 15:50:57 +0100 Subject: [PATCH] Alter reconnection behaviour Allow XLX to go back to where you were once network restored (used to relink to default XLX room) --- DMRGateway.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DMRGateway.cpp b/DMRGateway.cpp index 82c689d..40fd5b6 100644 --- a/DMRGateway.cpp +++ b/DMRGateway.cpp @@ -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);