Stop gateway bombing out when MMDVMHost stops after the gateway has restarted

This commit is contained in:
Tony Corbett G0WFV
2017-06-02 11:42:54 +01:00
parent a232addbde
commit fc70b6813c

View File

@@ -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);