mirror of
https://github.com/ShaYmez/P25Clients.git
synced 2025-08-30 19:58:04 -04:00
Fix current TG display.
This commit is contained in:
parent
83a929c2b4
commit
0f63c0a5ac
@ -529,8 +529,6 @@ void CP25Gateway::run()
|
|||||||
|
|
||||||
hangTimer.clock(ms);
|
hangTimer.clock(ms);
|
||||||
if (hangTimer.isRunning() && hangTimer.hasExpired()) {
|
if (hangTimer.isRunning() && hangTimer.hasExpired()) {
|
||||||
currentTG = 0U;
|
|
||||||
|
|
||||||
if (currentAddrLen > 0U) {
|
if (currentAddrLen > 0U) {
|
||||||
LogMessage("Unlinking from %u due to inactivity", currentTG);
|
LogMessage("Unlinking from %u due to inactivity", currentTG);
|
||||||
|
|
||||||
@ -547,6 +545,8 @@ void CP25Gateway::run()
|
|||||||
|
|
||||||
hangTimer.stop();
|
hangTimer.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
currentTG = 0U;
|
||||||
}
|
}
|
||||||
|
|
||||||
pollTimer.clock(ms);
|
pollTimer.clock(ms);
|
||||||
|
@ -19,6 +19,6 @@
|
|||||||
#if !defined(VERSION_H)
|
#if !defined(VERSION_H)
|
||||||
#define VERSION_H
|
#define VERSION_H
|
||||||
|
|
||||||
const char* VERSION = "20201101";
|
const char* VERSION = "20201102";
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user