Skip to content

Commit

Permalink
Lookup name on DMR network late entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed Feb 16, 2020
1 parent 8b172f1 commit fa08abf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DMRSlot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1169,11 +1169,11 @@ void CDMRSlot::writeNetwork(const CDMRData& dmrData)
m_netState = RS_NET_AUDIO;

setShortLC(m_slotNo, dstId, m_netLC->getFLCO(), ACTIVITY_VOICE);

std::string src = m_lookup->find(srcId);
std::string dst = m_lookup->find(dstId);
std::string cn = m_lookup->findWithName(srcId);

m_display->writeDMR(m_slotNo, src, m_netLC->getFLCO() == FLCO_GROUP, dst, "N");
m_display->writeDMR(m_slotNo, cn, m_netLC->getFLCO() == FLCO_GROUP, dst, "N");

LogMessage("DMR Slot %u, received network late entry from %s to %s%s", m_slotNo, src.c_str(), m_netLC->getFLCO() == FLCO_GROUP ? "TG " : "", dst.c_str());
}
Expand Down

0 comments on commit fa08abf

Please sign in to comment.