Remove use of NULL m_rfLC.

This commit is contained in:
Jonathan Naylor 2019-10-10 13:06:28 +01:00
parent 4f3ca97e69
commit 16a8bfd757
1 changed files with 1 additions and 5 deletions

View File

@ -536,11 +536,7 @@ bool CDMRSlot::writeModem(unsigned char *data, unsigned int len)
writeNetworkRF(data, dataType);
if (m_rfFrames == 0U) {
std::string src = m_lookup->find(m_rfLC->getSrcId());
std::string dst = m_lookup->find(m_rfLC->getDstId());
FLCO flco = m_rfLC->getFLCO();
LogMessage("DMR Slot %u, ended RF data transmission from %s to %s%s", m_slotNo, src.c_str(), flco == FLCO_GROUP ? "TG " : "", dst.c_str());
LogMessage("DMR Slot %u, ended RF data transmission", m_slotNo);
writeEndRF();
}