Add source identifier to D-Star output on HD44780

This commit is contained in:
phl0
2016-04-12 00:12:07 +02:00
parent e62ff87811
commit 975edd2dea
10 changed files with 13 additions and 13 deletions

View File

@@ -107,7 +107,7 @@ void CHD44780::setLockout()
m_dmr = false;
}
void CHD44780::writeDStar(const char* my1, const char* my2, const char* your)
void CHD44780::writeDStar(const char* my1, const char* my2, const char* your, const char* type)
{
assert(my1 != NULL);
assert(my2 != NULL);
@@ -121,7 +121,7 @@ void CHD44780::writeDStar(const char* my1, const char* my2, const char* your)
if (m_rows > 2U) {
char buffer[40U];
::sprintf(buffer, "%.8s/%.4s >", my1, my2);
::sprintf(buffer, "%s %.8s/%.4s >", type, my1, my2);
::lcdPosition(m_fd, 0, 1);
::lcdPrintf(m_fd, "%.*s", m_cols, buffer);