Skip to content

Commit

Permalink
Update HD44780.cpp
Browse files Browse the repository at this point in the history
POCSAG string was 6 characters, it HAS to be 5 or else it wraps to another line.
  • Loading branch information
KE7FNS authored Oct 13, 2021
1 parent cd7527a commit 2f274d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HD44780.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 2f274d3

Please sign in to comment.