Fix FM network section detection in Conf.cpp
This commit is contained in:
parent
c2ca65f889
commit
51a1e2bb9c
1 changed files with 1 additions and 1 deletions
2
Conf.cpp
2
Conf.cpp
|
@ -868,7 +868,7 @@ bool CConf::read()
|
||||||
m_pocsagNetworkModeHang = (unsigned int)::atoi(value);
|
m_pocsagNetworkModeHang = (unsigned int)::atoi(value);
|
||||||
else if (::strcmp(key, "Debug") == 0)
|
else if (::strcmp(key, "Debug") == 0)
|
||||||
m_pocsagNetworkDebug = ::atoi(value) == 1;
|
m_pocsagNetworkDebug = ::atoi(value) == 1;
|
||||||
} else if (section == SECTION_POCSAG_NETWORK) {
|
} else if (section == SECTION_FM_NETWORK) {
|
||||||
if (::strcmp(key, "Enable") == 0)
|
if (::strcmp(key, "Enable") == 0)
|
||||||
m_fmNetworkEnabled = ::atoi(value) == 1;
|
m_fmNetworkEnabled = ::atoi(value) == 1;
|
||||||
else if (::strcmp(key, "LocalAddress") == 0)
|
else if (::strcmp(key, "LocalAddress") == 0)
|
||||||
|
|
Loading…
Reference in a new issue