From 3f03319e7fa36e3c810f608cc4e8863d951d9b18 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Sun, 24 Sep 2017 09:11:21 +0100 Subject: [PATCH] Fix the XLX number mapping. Reported by Adrian VK4TUX. --- DMRGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DMRGateway.cpp b/DMRGateway.cpp index 53e86e7..b51b2fb 100644 --- a/DMRGateway.cpp +++ b/DMRGateway.cpp @@ -493,7 +493,7 @@ int CDMRGateway::run() } } } else if (dstId > (m_xlxBase + 4000U) && dstId < (m_xlxBase + 5000U) && flco == FLCO_USER_USER && slotNo == m_xlxSlot) { - dstId += 4000U; + dstId -= 4000U; dstId -= m_xlxBase; if (dstId != m_xlxNumber)