mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
Add YSF low deviation mode.
This commit is contained in:
parent
ceb761f26e
commit
1a6f282782
10 changed files with 55 additions and 9 deletions
8
Conf.cpp
8
Conf.cpp
|
|
@ -115,6 +115,7 @@ m_dmrSlot2TGWhiteList(),
|
|||
m_dmrCallHang(3U),
|
||||
m_dmrTXHang(4U),
|
||||
m_fusionEnabled(false),
|
||||
m_fusionLowDeviation(false),
|
||||
m_fusionRemoteGateway(false),
|
||||
m_p25Enabled(false),
|
||||
m_p25NAC(0x293U),
|
||||
|
|
@ -428,6 +429,8 @@ bool CConf::read()
|
|||
} else if (section == SECTION_FUSION) {
|
||||
if (::strcmp(key, "Enable") == 0)
|
||||
m_fusionEnabled = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "LowDeviation") == 0)
|
||||
m_fusionLowDeviation = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "RemoteGateway") == 0)
|
||||
m_fusionRemoteGateway = ::atoi(value) == 1;
|
||||
} else if (section == SECTION_P25) {
|
||||
|
|
@ -867,6 +870,11 @@ bool CConf::getFusionEnabled() const
|
|||
return m_fusionEnabled;
|
||||
}
|
||||
|
||||
bool CConf::getFusionLowDeviation() const
|
||||
{
|
||||
return m_fusionLowDeviation;
|
||||
}
|
||||
|
||||
bool CConf::getFusionRemoteGateway() const
|
||||
{
|
||||
return m_fusionRemoteGateway;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue