mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Update files to remove DG-ID and mantain consistency in code
This commit is contained in:
17
Conf.cpp
17
Conf.cpp
@@ -155,8 +155,6 @@ m_fusionLowDeviation(false),
|
||||
m_fusionRemoteGateway(false),
|
||||
m_fusionSelfOnly(false),
|
||||
m_fusionTXHang(4U),
|
||||
m_fusionDGIdEnabled(false),
|
||||
m_fusionDGId(0U),
|
||||
m_fusionModeHang(10U),
|
||||
m_p25Enabled(false),
|
||||
m_p25Id(0U),
|
||||
@@ -667,10 +665,7 @@ bool CConf::read()
|
||||
m_fusionEnabled = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "LowDeviation") == 0)
|
||||
m_fusionLowDeviation = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "DGID") == 0) {
|
||||
m_fusionDGIdEnabled = true;
|
||||
m_fusionDGId = (unsigned int)::atoi(value);
|
||||
} else if (::strcmp(key, "RemoteGateway") == 0)
|
||||
else if (::strcmp(key, "RemoteGateway") == 0)
|
||||
m_fusionRemoteGateway = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "SelfOnly") == 0)
|
||||
m_fusionSelfOnly = ::atoi(value) == 1;
|
||||
@@ -1444,16 +1439,6 @@ bool CConf::getFusionSelfOnly() const
|
||||
return m_fusionSelfOnly;
|
||||
}
|
||||
|
||||
bool CConf::getFusionDGIdEnabled() const
|
||||
{
|
||||
return m_fusionDGIdEnabled;
|
||||
}
|
||||
|
||||
unsigned char CConf::getFusionDGId() const
|
||||
{
|
||||
return m_fusionDGId;
|
||||
}
|
||||
|
||||
unsigned int CConf::getFusionModeHang() const
|
||||
{
|
||||
return m_fusionModeHang;
|
||||
|
||||
Reference in New Issue
Block a user