Add dot as date separator

This commit is contained in:
phl0 2016-06-22 11:51:41 +02:00
parent 768e3efcad
commit 2bd75c1cff
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
6 changed files with 24 additions and 4 deletions

View file

@ -29,7 +29,7 @@
class CNextion : public CDisplay
{
public:
CNextion(const std::string& callsign, unsigned int dmrid, const std::string& port, unsigned int brightness, bool displayClock, bool utc);
CNextion(const std::string& callsign, unsigned int dmrid, const std::string& port, unsigned int brightness, bool displayClock, bool utc, const std::string& dateformat);
virtual ~CNextion();
virtual bool open();
@ -60,6 +60,7 @@ private:
unsigned char m_mode;
bool m_displayClock;
bool m_utc;
std::string m_dateformat;
CTimer m_clockDisplayTimer;
void sendCommand(const char* command);