mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-20 21:25:37 +08:00
Merge pull request #127 from qradiolink/embedded_data_passing
Embedded data was not being passed through during rewrite
This commit is contained in:
12
Rewrite.cpp
12
Rewrite.cpp
@@ -110,17 +110,7 @@ void CRewrite::processEmbeddedData(unsigned char* data, unsigned char n)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CDMRLC* lc = m_data[m_readNum].getLC();
|
FLCO flco = m_data[m_readNum].getFLCO();
|
||||||
if (lc == NULL) {
|
|
||||||
lcss = m_embeddedLC.getData(data, n);
|
|
||||||
emb.setLCSS(lcss);
|
|
||||||
emb.getData(data);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
FLCO flco = lc->getFLCO();
|
|
||||||
|
|
||||||
delete lc;
|
|
||||||
|
|
||||||
// Replace any identity embedded data with the new one
|
// Replace any identity embedded data with the new one
|
||||||
if (flco == FLCO_GROUP || flco == FLCO_USER_USER)
|
if (flco == FLCO_GROUP || flco == FLCO_USER_USER)
|
||||||
|
|||||||
Reference in New Issue
Block a user