mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-24 07:15:38 +08:00
Stop gateway bombing out when MMDVMHost stops after the gateway has restarted
This commit is contained in:
@@ -268,7 +268,7 @@ int CDMRGateway::run()
|
|||||||
while (!m_killed) {
|
while (!m_killed) {
|
||||||
unsigned char config[400U];
|
unsigned char config[400U];
|
||||||
unsigned int len = m_repeater->getConfig(config);
|
unsigned int len = m_repeater->getConfig(config);
|
||||||
if (len > 0U)
|
if (len > 0U && m_repeater->getId() > 1000U)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
m_repeater->clock(10U);
|
m_repeater->clock(10U);
|
||||||
|
|||||||
Reference in New Issue
Block a user