mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2025-03-20 19:36:10 -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);
|
||||
|
||||
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());
|
||||
|
||||
m_conv.putNXDNHeader();
|
||||
|
Loading…
Reference in New Issue
Block a user