mirror of
https://github.com/ShaYmez/P25Clients.git
synced 2026-06-08 08:55:04 -04:00
Fix current TG display.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user