Add Config option to dim Nextion display in idle

state
This commit is contained in:
phl0
2016-06-24 09:30:46 +02:00
parent 18fa0df5d3
commit 7e906f3fdd
6 changed files with 42 additions and 11 deletions

2
Conf.h
View File

@@ -150,6 +150,7 @@ public:
bool getNextionDisplayClock() const;
bool getNextionUTC() const;
std::string getNextionDateFormat() const;
bool getNextionDimOnIdle() const;
// The OLED section
unsigned char getOLEDType() const;
@@ -264,6 +265,7 @@ private:
bool m_nextionDisplayClock;
bool m_nextionUTC;
std::string m_nextionDateFormat;
bool m_nextionDimOnIdle;
unsigned char m_oledType;
unsigned char m_oledBrightness;