mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2025-05-31 05:12:26 -04:00
Update YSF2NXDN.cpp
If the Source id is 9999 (MMDVM) then do not resolve the Destination id, it will be a TG number and NOT a User.
This commit is contained in:
parent
101554272c
commit
c861c3303e
@ -545,7 +545,8 @@ int CYSF2NXDN::run()
|
|||||||
::memcpy(gps_buffer + 10U, dt2_temp, 10U);
|
::memcpy(gps_buffer + 10U, dt2_temp, 10U);
|
||||||
|
|
||||||
m_netSrc = m_lookup->findCS(srcId);
|
m_netSrc = m_lookup->findCS(srcId);
|
||||||
m_netDst = m_lookup->findCS(dstId);
|
//m_netDst = m_lookup->findCS(dstId);
|
||||||
|
if (srcId != 9999U) { m_netDst = m_lookup->findCS(dstId); } else { m_netDst = std::to_string(dstId); }
|
||||||
LogMessage("Received NXDN Header: Src: %s Dst: %s", m_netSrc.c_str(), m_netDst.c_str());
|
LogMessage("Received NXDN Header: Src: %s Dst: %s", m_netSrc.c_str(), m_netDst.c_str());
|
||||||
|
|
||||||
m_conv.putNXDNHeader();
|
m_conv.putNXDNHeader();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user