Formatting issues
This commit is contained in:
parent
76c783fa04
commit
c2d4800f3b
2
Conf.cpp
2
Conf.cpp
|
@ -351,7 +351,7 @@ bool CConf::read()
|
||||||
} else if (section == SECTION_NEXTION) {
|
} else if (section == SECTION_NEXTION) {
|
||||||
if (::strcmp(key, "Size") == 0)
|
if (::strcmp(key, "Size") == 0)
|
||||||
m_nextionSize = value;
|
m_nextionSize = value;
|
||||||
else if (::strcmp(key, "Port") == 0)
|
else if (::strcmp(key, "Port") == 0)
|
||||||
m_nextionPort = value;
|
m_nextionPort = value;
|
||||||
else if (::strcmp(key, "Brightness") == 0)
|
else if (::strcmp(key, "Brightness") == 0)
|
||||||
m_nextionBrightness = (unsigned int)::atoi(value);
|
m_nextionBrightness = (unsigned int)::atoi(value);
|
||||||
|
|
Loading…
Reference in a new issue