mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 22:45:31 +00:00
Modify the P25 UID check slightly.
This commit is contained in:
parent
37bde2df6c
commit
c0571edb0b
8 changed files with 16 additions and 15 deletions
|
|
@ -407,12 +407,14 @@ int CMMDVMHost::run()
|
|||
|
||||
CP25Control* p25 = NULL;
|
||||
if (m_p25Enabled) {
|
||||
unsigned int nac = m_conf.getP25NAC();
|
||||
unsigned int nac = m_conf.getP25NAC();
|
||||
bool uidOverride = m_conf.getP25OverrideUID();
|
||||
|
||||
LogInfo("P25 Parameters");
|
||||
LogInfo(" NAC: $%03X", nac);
|
||||
LogInfo(" UID Override: %s", uidOverride ? "yes" : "no");
|
||||
|
||||
p25 = new CP25Control(nac, m_conf.getP25OverrideUID(), m_p25Network, m_display, m_timeout, m_duplex, m_lookup, rssi);
|
||||
p25 = new CP25Control(nac, uidOverride, m_p25Network, m_display, m_timeout, m_duplex, m_lookup, rssi);
|
||||
}
|
||||
|
||||
setMode(MODE_IDLE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue