Merge pull request #84 from g0wfv/develop

Fix TS1 not displaying
This commit is contained in:
Jonathan Naylor 2016-06-05 22:37:27 +01:00
commit d2b9128162

View file

@ -544,7 +544,7 @@ void CHD44780::writeDMRInt(unsigned int slotNo, const std::string& src, bool gro
if (slotNo == 1U) {
::lcdPosition(m_fd, 0, (m_rows / 2) - 1);
::lcdPuts(m_fd, "1 ");
::sprintf(m_buffer2, "%s > %s%s ", src.c_str(), group ? "TG" : "", dst.c_str());
::sprintf(m_buffer1, "%s > %s%s ", src.c_str(), group ? "TG" : "", dst.c_str());
::lcdPrintf(m_fd, "%.*s", m_cols - 2U, m_buffer1);
// Start the scroll timer on slot 1 if text in m_buffer1 will not fit in the space available