Merge pull request #1 from KE7FNS/KE7FNS-patch-1

Update HD44780.cpp
This commit is contained in:
KE7FNS 2021-10-05 15:07:32 -07:00 committed by GitHub
commit 8b67d856f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1052,14 +1052,14 @@ void CHD44780::clearNXDNInt()
void CHD44780::writePOCSAGInt(uint32_t ric, const std::string& message) void CHD44780::writePOCSAGInt(uint32_t ric, const std::string& message)
{ {
::lcdPosition(m_fd, m_cols - 9, m_rows - 1); ::lcdPosition(m_fd, m_cols - 5, m_rows - 1);
::lcdPuts(m_fd, "POCSAG TX"); ::lcdPuts(m_fd, "POCSAG"); // Shortened "POCSAG TX" to 5 characters because it wraps around onto the next line (or on 16x2 displays the 1st line).
} }
void CHD44780::clearPOCSAGInt() void CHD44780::clearPOCSAGInt()
{ {
::lcdPosition(m_fd, m_cols - 9, m_rows - 1); ::lcdPosition(m_fd, m_cols - 5, m_rows - 1);
::lcdPuts(m_fd, " Idle"); ::lcdPuts(m_fd, " Idle"); // Reverted back to 5 character implementation.
} }
void CHD44780::writeCWInt() void CHD44780::writeCWInt()