Merge pull request #127 from qradiolink/embedded_data_passing

Embedded data was not being passed through during rewrite
This commit is contained in:
Jonathan Naylor 2024-01-25 18:23:34 +00:00 committed by GitHub
commit 3a6e47d39e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,17 +110,7 @@ void CRewrite::processEmbeddedData(unsigned char* data, unsigned char n)
return;
}
CDMRLC* lc = m_data[m_readNum].getLC();
if (lc == NULL) {
lcss = m_embeddedLC.getData(data, n);
emb.setLCSS(lcss);
emb.getData(data);
return;
}
FLCO flco = lc->getFLCO();
delete lc;
FLCO flco = m_data[m_readNum].getFLCO();
// Replace any identity embedded data with the new one
if (flco == FLCO_GROUP || flco == FLCO_USER_USER)