Formatting issues

This commit is contained in:
phl0 2016-04-27 22:30:24 +02:00
parent 76c783fa04
commit c2d4800f3b
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
2 changed files with 2 additions and 2 deletions

View file

@ -351,7 +351,7 @@ bool CConf::read()
} else if (section == SECTION_NEXTION) {
if (::strcmp(key, "Size") == 0)
m_nextionSize = value;
else if (::strcmp(key, "Port") == 0)
else if (::strcmp(key, "Port") == 0)
m_nextionPort = value;
else if (::strcmp(key, "Brightness") == 0)
m_nextionBrightness = (unsigned int)::atoi(value);

View file

@ -90,6 +90,6 @@ Columns=16
Pins=115,113,112,111,110,109
[Nextion]
Size=2.4
Port=/dev/ttyAMA0
Brightness=50
Size=2.4