mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-22 14:16:08 +08:00
Update Conf.cpp
Reading Descripton from section APRS is missing
This commit is contained in:
2
Conf.cpp
2
Conf.cpp
@@ -978,6 +978,8 @@ bool CConf::read()
|
|||||||
m_aprsPort = (unsigned short)::atoi(value);
|
m_aprsPort = (unsigned short)::atoi(value);
|
||||||
else if (::strcmp(key, "Suffix") == 0)
|
else if (::strcmp(key, "Suffix") == 0)
|
||||||
m_aprsSuffix = value;
|
m_aprsSuffix = value;
|
||||||
|
else if (::strcmp(key, "Description") == 0)
|
||||||
|
m_aprsDescription = value;
|
||||||
} else if (section == SECTION_DYNAMIC_TG_CONTROL) {
|
} else if (section == SECTION_DYNAMIC_TG_CONTROL) {
|
||||||
if (::strcmp(key, "Enabled") == 0)
|
if (::strcmp(key, "Enabled") == 0)
|
||||||
m_dynamicTGControlEnabled = ::atoi(value) == 1;
|
m_dynamicTGControlEnabled = ::atoi(value) == 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user