mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2025-12-06 05:32:00 +01:00
Add extra commits and hopefully fix missing line on HD44780 in DMR mode,
This commit is contained in:
parent
469fd8623b
commit
9c59294c23
|
|
@ -112,6 +112,7 @@ void CHD44780::writeDStar(const char* my1, const char* my2, const char* your, co
|
|||
assert(my1 != NULL);
|
||||
assert(my2 != NULL);
|
||||
assert(your != NULL);
|
||||
assert(type != NULL);
|
||||
|
||||
::lcdClear(m_fd);
|
||||
|
||||
|
|
@ -157,6 +158,7 @@ void CHD44780::writeDMR(unsigned int slotNo, unsigned int srcId, bool group, uns
|
|||
{
|
||||
assert(type != NULL);
|
||||
|
||||
if (!m_dmr) {
|
||||
::lcdClear(m_fd);
|
||||
|
||||
if (m_rows > 2U) {
|
||||
|
|
@ -164,7 +166,6 @@ void CHD44780::writeDMR(unsigned int slotNo, unsigned int srcId, bool group, uns
|
|||
::lcdPuts(m_fd, "DMR");
|
||||
}
|
||||
|
||||
if (!m_dmr) {
|
||||
if (slotNo == 1U) {
|
||||
::lcdPosition(m_fd, 0, m_rows > 2U ? 2 : 1);
|
||||
::lcdPrintf(m_fd, "2 %.*s", m_cols - 2U, LISTENING);
|
||||
|
|
|
|||
|
|
@ -98,6 +98,7 @@ void CNextion::writeDStar(const char* my1, const char* my2, const char* your, co
|
|||
assert(my1 != NULL);
|
||||
assert(my2 != NULL);
|
||||
assert(your != NULL);
|
||||
assert(type != NULL);
|
||||
|
||||
if (m_mode != MODE_DSTAR)
|
||||
sendCommand("page DStar");
|
||||
|
|
|
|||
|
|
@ -147,6 +147,7 @@ void CTFTSerial::writeDStar(const char* my1, const char* my2, const char* your,
|
|||
assert(my1 != NULL);
|
||||
assert(my2 != NULL);
|
||||
assert(your != NULL);
|
||||
assert(type != NULL);
|
||||
|
||||
if (m_mode != MODE_DSTAR) {
|
||||
// Clear the screen
|
||||
|
|
|
|||
Loading…
Reference in a new issue