mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 22:17:38 +00:00
Split the DMR TX hang time from the mode hang time.
This commit is contained in:
parent
dd5e86a66d
commit
ed6586fa58
7 changed files with 85 additions and 13 deletions
8
Conf.cpp
8
Conf.cpp
|
|
@ -87,6 +87,7 @@ m_dmrSelfOnly(false),
|
|||
m_dmrPrefixes(),
|
||||
m_dmrBlackList(),
|
||||
m_dmrLookupFile(),
|
||||
m_dmrTXHang(4U),
|
||||
m_fusionEnabled(true),
|
||||
m_fusionParrotEnabled(false),
|
||||
m_dstarNetworkEnabled(true),
|
||||
|
|
@ -295,6 +296,8 @@ bool CConf::read()
|
|||
}
|
||||
} else if (::strcmp(key, "LookupFile") == 0)
|
||||
m_dmrLookupFile = value;
|
||||
else if (::strcmp(key, "TXHang") == 0)
|
||||
m_dmrTXHang = (unsigned int)::atoi(value);
|
||||
} else if (section == SECTION_FUSION) {
|
||||
if (::strcmp(key, "Enable") == 0)
|
||||
m_fusionEnabled = ::atoi(value) == 1;
|
||||
|
|
@ -583,6 +586,11 @@ std::string CConf::getDMRLookupFile() const
|
|||
return m_dmrLookupFile;
|
||||
}
|
||||
|
||||
unsigned int CConf::getDMRTXHang() const
|
||||
{
|
||||
return m_dmrTXHang;
|
||||
}
|
||||
|
||||
bool CConf::getFusionEnabled() const
|
||||
{
|
||||
return m_fusionEnabled;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue