mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 08:05:49 +08:00
Add full frame file dumping.
This commit is contained in:
8
Conf.cpp
8
Conf.cpp
@@ -92,6 +92,7 @@ m_modemYSFTXLevel(50U),
|
||||
m_modemP25TXLevel(50U),
|
||||
m_modemOscOffset(0),
|
||||
m_modemRSSIMappingFile(),
|
||||
m_modemSamplesDir(),
|
||||
m_modemDebug(false),
|
||||
m_umpEnabled(false),
|
||||
m_umpPort(),
|
||||
@@ -331,6 +332,8 @@ bool CConf::read()
|
||||
m_modemOscOffset = ::atoi(value);
|
||||
else if (::strcmp(key, "RSSIMappingFile") == 0)
|
||||
m_modemRSSIMappingFile = value;
|
||||
else if (::strcmp(key, "SamplesDir") == 0)
|
||||
m_modemSamplesDir = value;
|
||||
else if (::strcmp(key, "Debug") == 0)
|
||||
m_modemDebug = ::atoi(value) == 1;
|
||||
} else if (section == SECTION_UMP) {
|
||||
@@ -746,6 +749,11 @@ std::string CConf::getModemRSSIMappingFile () const
|
||||
return m_modemRSSIMappingFile;
|
||||
}
|
||||
|
||||
std::string CConf::getModemSamplesDir() const
|
||||
{
|
||||
return m_modemSamplesDir;
|
||||
}
|
||||
|
||||
bool CConf::getModemDebug() const
|
||||
{
|
||||
return m_modemDebug;
|
||||
|
||||
Reference in New Issue
Block a user