mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
Remove the location information from the new config message.
This commit is contained in:
parent
01da0ded7f
commit
2349520964
10 changed files with 16 additions and 38 deletions
8
Conf.cpp
8
Conf.cpp
|
|
@ -71,7 +71,6 @@ m_daemon(false),
|
|||
m_rxFrequency(0U),
|
||||
m_txFrequency(0U),
|
||||
m_power(0U),
|
||||
m_location(),
|
||||
m_logDisplayLevel(0U),
|
||||
m_logFileLevel(0U),
|
||||
m_logFilePath(),
|
||||
|
|
@ -421,8 +420,6 @@ bool CConf::read()
|
|||
m_rxFrequency = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "Power") == 0)
|
||||
m_power = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "Location") == 0)
|
||||
m_location = value;
|
||||
} else if (section == SECTION_LOG) {
|
||||
if (::strcmp(key, "FilePath") == 0)
|
||||
m_logFilePath = value;
|
||||
|
|
@ -996,11 +993,6 @@ unsigned int CConf::getPower() const
|
|||
return m_power;
|
||||
}
|
||||
|
||||
std::string CConf::getLocation() const
|
||||
{
|
||||
return m_location;
|
||||
}
|
||||
|
||||
unsigned int CConf::getLogDisplayLevel() const
|
||||
{
|
||||
return m_logDisplayLevel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue