mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 23:45:49 +08:00
Merge pull request #714 from pd9mwo/patch-1
Update HD44780.cpp with POCSAG
This commit is contained in:
@@ -1052,13 +1052,13 @@ 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 - 5, m_rows - 1);
|
::lcdPosition(m_fd, m_cols - 9, m_rows - 1);
|
||||||
::lcdPuts(m_fd, "POCSAG TX");
|
::lcdPuts(m_fd, "POCSAG TX");
|
||||||
}
|
}
|
||||||
|
|
||||||
void CHD44780::clearPOCSAGInt()
|
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");
|
::lcdPuts(m_fd, " Idle");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user