From 4b0e01635592560e55cbd70c42a0e1ccea1ad910 Mon Sep 17 00:00:00 2001 From: pd9mwo <91424837+pd9mwo@users.noreply.github.com> Date: Sun, 26 Sep 2021 17:56:09 +0200 Subject: [PATCH] Update HD44780.cpp POCSAG TX wont fit on a HD47780 16x2 screen --- HD44780.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HD44780.cpp b/HD44780.cpp index 3e4e638..bf2f6dd 100644 --- a/HD44780.cpp +++ b/HD44780.cpp @@ -1052,13 +1052,13 @@ void CHD44780::clearNXDNInt() void CHD44780::writePOCSAGInt(uint32_t ric, const std::string& message) { - ::lcdPosition(m_fd, m_cols - 5, m_rows - 1); + ::lcdPosition(m_fd, m_cols - 9, m_rows - 1); ::lcdPuts(m_fd, "POCSAG TX"); } void CHD44780::clearPOCSAGInt() { - ::lcdPosition(m_fd, m_cols - 5, m_rows - 1); + ::lcdPosition(m_fd, m_cols - 9, m_rows - 1); ::lcdPuts(m_fd, " Idle"); }