Update HD44780.cpp

POCSAG string was 6 characters, it HAS to be 5 or else it wraps to another line.
This commit is contained in:
Jason Kraemer 2021-10-12 19:48:27 -07:00 committed by GitHub
parent cd7527a3aa
commit 2f274d3746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1053,7 +1053,7 @@ void CHD44780::clearNXDNInt()
void CHD44780::writePOCSAGInt(uint32_t ric, const std::string& message)
{
::lcdPosition(m_fd, m_cols - 5, m_rows - 1);
::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).
::lcdPuts(m_fd, "POCSG"); // Shortened "POCSAG TX" to 5 characters because it wraps around onto the next line (or on 16x2 displays the 1st line).
}
void CHD44780::clearPOCSAGInt()