Correct an error with printing DMR to top line of 4 line screens

This commit is contained in:
Tony Corbett G0WFV 2016-05-12 14:04:43 +01:00
parent 0014e39be7
commit bfe0bb389c

View file

@ -490,7 +490,7 @@ void CHD44780::writeDMRInt(unsigned int slotNo, const std::string& src, bool gro
if (m_duplex) {
if (m_rows > 2U) {
::lcdPosition(m_fd, 0, (m_rows / 2) - 2);
::sprintf(buffer, "%s%s", buffer, DEADSPACE);
::sprintf(buffer, "%s%s", "DMR", DEADSPACE);
::lcdPrintf(m_fd, "%.*s", m_cols, buffer);
}