Add the Kerchunk TX parameter.

This commit is contained in:
Jonathan Naylor
2020-06-20 20:44:02 +01:00
parent 85751e0c51
commit f936a6c5b6
7 changed files with 23 additions and 4 deletions

View File

@@ -201,6 +201,7 @@ m_fmCTCSSHighThreshold(30U),
m_fmCTCSSLowThreshold(20U),
m_fmCTCSSLevel(2.0F),
m_fmKerchunkTime(0U),
m_fmKerchunkTX(true),
m_fmHangTime(7U),
m_fmUseCOS(true),
m_fmCOSInvert(false),
@@ -777,6 +778,8 @@ bool CConf::read()
m_fmCTCSSLevel = float(::atof(value));
else if (::strcmp(key, "KerchunkTime") == 0)
m_fmKerchunkTime = (unsigned int)::atoi(value);
else if (::strcmp(key, "KerchunkTX") == 0)
m_fmKerchunkTX = ::atoi(value) == 1;
else if (::strcmp(key, "HangTime") == 0)
m_fmHangTime = (unsigned int)::atoi(value);
else if (::strcmp(key, "UseCOS") == 0)
@@ -1683,6 +1686,11 @@ unsigned int CConf::getFMKerchunkTime() const
return m_fmKerchunkTime;
}
bool CConf::getFMKerchunkTX() const
{
return m_fmKerchunkTX;
}
unsigned int CConf::getFMHangTime() const
{
return m_fmHangTime;