Add CW transmission info to HD44780 LCD displays

This commit is contained in:
phl0 2016-09-15 23:03:48 +02:00
parent 148b640397
commit 7ab66136ee
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A
2 changed files with 15 additions and 0 deletions

View file

@ -730,6 +730,18 @@ void CHD44780::clearFusionInt()
} }
} }
void CHD44780::writeCWInt()
{
::lcdPosition(m_fd, m_cols - 5, m_rows - 1);
::lcdPuts(m_fd, "CW TX");
}
void CHD44780::clearCWInt()
{
::lcdPosition(m_fd, m_cols - 5, m_rows - 1);
::lcdPuts(m_fd, " Idle");
}
void CHD44780::clockInt(unsigned int ms) void CHD44780::clockInt(unsigned int ms)
{ {
m_clockDisplayTimer.clock(ms); m_clockDisplayTimer.clock(ms);

View file

@ -110,6 +110,9 @@ protected:
virtual void writeFusionInt(const char* source, const char* dest, const char* type, const char* origin); virtual void writeFusionInt(const char* source, const char* dest, const char* type, const char* origin);
virtual void clearFusionInt(); virtual void clearFusionInt();
virtual void writeCWInt();
virtual void clearCWInt();
virtual void clockInt(unsigned int ms); virtual void clockInt(unsigned int ms);
private: private: