mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-21 13:35:40 +08:00
Fix the XLX Slot parameter.
This commit is contained in:
2
Conf.cpp
2
Conf.cpp
@@ -108,7 +108,7 @@ bool CConf::read()
|
|||||||
if (section == SECTION_GENERAL) {
|
if (section == SECTION_GENERAL) {
|
||||||
if (::strcmp(key, "Daemon") == 0)
|
if (::strcmp(key, "Daemon") == 0)
|
||||||
m_daemon = ::atoi(value) == 1;
|
m_daemon = ::atoi(value) == 1;
|
||||||
else if (::strcmp(key, "XLSSlot") == 0)
|
else if (::strcmp(key, "XLXSlot") == 0)
|
||||||
m_xlxSlot = (unsigned int)::atoi(value);
|
m_xlxSlot = (unsigned int)::atoi(value);
|
||||||
else if (::strcmp(key, "XLXTG") == 0)
|
else if (::strcmp(key, "XLXTG") == 0)
|
||||||
m_xlxTG = (unsigned int)::atoi(value);
|
m_xlxTG = (unsigned int)::atoi(value);
|
||||||
|
|||||||
Reference in New Issue
Block a user