mirror of
https://github.com/g4klx/DMRGateway
synced 2026-02-04 21:35:42 +08:00
Clean up tabbing.
This commit is contained in:
@@ -2201,23 +2201,24 @@ bool CDMRGateway::createXLXNetwork()
|
|||||||
LogInfo(" Slot: %u", m_xlxSlot);
|
LogInfo(" Slot: %u", m_xlxSlot);
|
||||||
LogInfo(" TG: %u", m_xlxTG);
|
LogInfo(" TG: %u", m_xlxTG);
|
||||||
LogInfo(" Base: %u", m_xlxBase);
|
LogInfo(" Base: %u", m_xlxBase);
|
||||||
|
|
||||||
if (m_xlxStartup > 0U)
|
if (m_xlxStartup > 0U)
|
||||||
LogInfo(" Startup: XLX%03u", m_xlxStartup);
|
LogInfo(" Startup: XLX%03u", m_xlxStartup);
|
||||||
|
|
||||||
if (xlxRelink > 0U) {
|
if (xlxRelink > 0U) {
|
||||||
m_xlxRelink.setTimeout(xlxRelink * 60U);
|
m_xlxRelink.setTimeout(xlxRelink * 60U);
|
||||||
LogInfo(" Relink: %u minutes", xlxRelink);
|
LogInfo(" Relink: %u minutes", xlxRelink);
|
||||||
} else {
|
} else {
|
||||||
LogInfo(" Relink: disabled");
|
LogInfo(" Relink: disabled");
|
||||||
}
|
}
|
||||||
if (m_xlxUserControl) {
|
|
||||||
LogInfo(" User Control: enabled");
|
|
||||||
} else {
|
|
||||||
LogInfo(" User Control: disabled");
|
|
||||||
}
|
|
||||||
if (m_xlxModule) {
|
|
||||||
LogInfo(" Module: %c",m_xlxModule);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
if (m_xlxUserControl)
|
||||||
|
LogInfo(" User Control: enabled");
|
||||||
|
else
|
||||||
|
LogInfo(" User Control: disabled");
|
||||||
|
|
||||||
|
if (m_xlxModule != 0U)
|
||||||
|
LogInfo(" Module: %c", m_xlxModule);
|
||||||
|
|
||||||
if (m_xlxStartup > 0U)
|
if (m_xlxStartup > 0U)
|
||||||
linkXLX(m_xlxStartup);
|
linkXLX(m_xlxStartup);
|
||||||
@@ -2273,11 +2274,10 @@ bool CDMRGateway::linkXLX(unsigned int number)
|
|||||||
}
|
}
|
||||||
|
|
||||||
m_xlxNumber = number;
|
m_xlxNumber = number;
|
||||||
if (m_xlxModule) {
|
if (m_xlxModule != 0U)
|
||||||
m_xlxRoom = ((int(m_xlxModule) - 64U) + 4000U);
|
m_xlxRoom = ((int(m_xlxModule) - 64U) + 4000U);
|
||||||
} else {
|
else
|
||||||
m_xlxRoom = reflector->m_startup;
|
m_xlxRoom = reflector->m_startup;
|
||||||
}
|
|
||||||
m_xlxReflector = 4000U;
|
m_xlxReflector = 4000U;
|
||||||
|
|
||||||
LogMessage("XLX, Connecting to XLX%03u", m_xlxNumber);
|
LogMessage("XLX, Connecting to XLX%03u", m_xlxNumber);
|
||||||
|
|||||||
Reference in New Issue
Block a user