mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 06:25:24 +00:00
Add source identifier to D-Star output on HD44780
This commit is contained in:
parent
e62ff87811
commit
975edd2dea
10 changed files with 13 additions and 13 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue