mirror of
https://github.com/g4klx/DMRGateway.git
synced 2025-12-06 05:32:01 +01:00
Merge pull request #127 from qradiolink/embedded_data_passing
Embedded data was not being passed through during rewrite
This commit is contained in:
commit
3a6e47d39e
12
Rewrite.cpp
12
Rewrite.cpp
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue