mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +08:00
Add the YSF TX hang parameter.
This commit is contained in:
8
Conf.cpp
8
Conf.cpp
@@ -141,6 +141,7 @@ m_fusionEnabled(false),
|
||||
m_fusionLowDeviation(false),
|
||||
m_fusionRemoteGateway(false),
|
||||
m_fusionSelfOnly(false),
|
||||
m_fusionTXHang(4U),
|
||||
m_fusionSQLEnabled(false),
|
||||
m_fusionSQL(0U),
|
||||
m_fusionModeHang(10U),
|
||||
@@ -553,6 +554,8 @@ bool CConf::read()
|
||||
m_fusionRemoteGateway = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "SelfOnly") == 0)
|
||||
m_fusionSelfOnly = ::atoi(value) == 1;
|
||||
else if (::strcmp(key, "TXHang") == 0)
|
||||
m_fusionTXHang = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "ModeHang") == 0)
|
||||
m_fusionModeHang = (unsigned int)::atoi(value);
|
||||
} else if (section == SECTION_P25) {
|
||||
@@ -1147,6 +1150,11 @@ bool CConf::getFusionRemoteGateway() const
|
||||
return m_fusionRemoteGateway;
|
||||
}
|
||||
|
||||
unsigned int CConf::getFusionTXHang() const
|
||||
{
|
||||
return m_fusionTXHang;
|
||||
}
|
||||
|
||||
bool CConf::getFusionSelfOnly() const
|
||||
{
|
||||
return m_fusionSelfOnly;
|
||||
|
||||
Reference in New Issue
Block a user