mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-12-22 09:10:57 -05:00
Update WiresX.cpp
Matching out "CALL nnnnnn" rather than "TG nnnnn" for 6 digit talk groups. 6 or more digit groups should now show as TG as they should.
This commit is contained in:
parent
07b668218d
commit
57f406e49f
@ -635,9 +635,10 @@ void CWiresX::sendDXReply()
|
||||
sprintf(buf, "%05d", m_dstID);
|
||||
::memcpy(data + 36U, buf, 5U);
|
||||
|
||||
if (m_dstID > 99999U)
|
||||
sprintf(buf1, "CALL %d", m_dstID);
|
||||
else if (m_dstID == 9U)
|
||||
//if (m_dstID > 99999U)
|
||||
// sprintf(buf1, "CALL %d", m_dstID);
|
||||
//else if (m_dstID == 9U)
|
||||
if (m_dstID == 9U)
|
||||
strcpy(buf1, "LOCAL");
|
||||
else if (m_dstID == 9990U)
|
||||
strcpy(buf1, "PARROT");
|
||||
@ -721,9 +722,10 @@ void CWiresX::sendConnectReply(unsigned int dstID)
|
||||
sprintf(buf, "%05d", m_dstID);
|
||||
::memcpy(data + 36U, buf, 5U);
|
||||
|
||||
if (m_dstID > 99999U)
|
||||
sprintf(buf1, "CALL %d", m_dstID);
|
||||
else if (m_dstID == 9U)
|
||||
//if (m_dstID > 99999U)
|
||||
// sprintf(buf1, "CALL %d", m_dstID);
|
||||
//else if (m_dstID == 9U)
|
||||
if (m_dstID == 9U)
|
||||
strcpy(buf1, "LOCAL");
|
||||
else if (m_dstID == 9990U)
|
||||
strcpy(buf1, "PARROT");
|
||||
|
Loading…
Reference in New Issue
Block a user