mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Add full frame file dumping.
This commit is contained in:
parent
ac22f0b783
commit
fc477d9abf
6 changed files with 97 additions and 14 deletions
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue