Fix current TG display.

This commit is contained in:
Jonathan Naylor
2020-11-02 11:36:38 +00:00
parent 83a929c2b4
commit 0f63c0a5ac
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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);