mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-03-03 03:33:53 +01:00
Stop gateway bombing out when MMDVMHost stops after the gateway has restarted
This commit is contained in:
parent
a232addbde
commit
fc70b6813c
|
|
@ -268,7 +268,7 @@ int CDMRGateway::run()
|
|||
while (!m_killed) {
|
||||
unsigned char config[400U];
|
||||
unsigned int len = m_repeater->getConfig(config);
|
||||
if (len > 0U)
|
||||
if (len > 0U && m_repeater->getId() > 1000U)
|
||||
break;
|
||||
|
||||
m_repeater->clock(10U);
|
||||
|
|
|
|||
Loading…
Reference in a new issue