From 0f63c0a5acb23c93c759b706337f29bdc19c7ce8 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 2 Nov 2020 11:36:38 +0000 Subject: [PATCH] Fix current TG display. --- P25Gateway/P25Gateway.cpp | 4 ++-- P25Gateway/Version.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/P25Gateway/P25Gateway.cpp b/P25Gateway/P25Gateway.cpp index f08d61c..3fcf655 100644 --- a/P25Gateway/P25Gateway.cpp +++ b/P25Gateway/P25Gateway.cpp @@ -529,8 +529,6 @@ void CP25Gateway::run() hangTimer.clock(ms); if (hangTimer.isRunning() && hangTimer.hasExpired()) { - currentTG = 0U; - if (currentAddrLen > 0U) { LogMessage("Unlinking from %u due to inactivity", currentTG); @@ -547,6 +545,8 @@ void CP25Gateway::run() hangTimer.stop(); } + + currentTG = 0U; } pollTimer.clock(ms); diff --git a/P25Gateway/Version.h b/P25Gateway/Version.h index 8d5b383..0272115 100644 --- a/P25Gateway/Version.h +++ b/P25Gateway/Version.h @@ -19,6 +19,6 @@ #if !defined(VERSION_H) #define VERSION_H -const char* VERSION = "20201101"; +const char* VERSION = "20201102"; #endif