mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-23 16:55:52 +08:00
Allow for a global callsign.
This commit is contained in:
2
Conf.cpp
2
Conf.cpp
@@ -387,7 +387,7 @@ bool CConf::read()
|
|||||||
// Convert the callsign to upper case
|
// Convert the callsign to upper case
|
||||||
for (unsigned int i = 0U; value[i] != 0; i++)
|
for (unsigned int i = 0U; value[i] != 0; i++)
|
||||||
value[i] = ::toupper(value[i]);
|
value[i] = ::toupper(value[i]);
|
||||||
m_cwIdCallsign = m_callsign = value;
|
m_fmCallsign = m_cwIdCallsign = m_callsign = value;
|
||||||
} else if (::strcmp(key, "Id") == 0)
|
} else if (::strcmp(key, "Id") == 0)
|
||||||
m_id = m_p25Id = m_dmrId = (unsigned int)::atoi(value);
|
m_id = m_p25Id = m_dmrId = (unsigned int)::atoi(value);
|
||||||
else if (::strcmp(key, "Timeout") == 0)
|
else if (::strcmp(key, "Timeout") == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user