mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-07 07:23:50 +00:00
Allow seperate Ids and bug fixing.
This commit is contained in:
parent
5b014604a1
commit
9a1334e36d
5 changed files with 78 additions and 32 deletions
|
|
@ -85,12 +85,13 @@ void CRewrite::processHeader(CDMRData& data, unsigned char dataType)
|
|||
data.getData(buffer);
|
||||
|
||||
delete m_lc;
|
||||
m_lc = NULL;
|
||||
|
||||
CDMRFullLC fullLC;
|
||||
m_lc = fullLC.decode(buffer, dataType);
|
||||
if (m_lc == NULL)
|
||||
return;
|
||||
if (m_lc == NULL) {
|
||||
m_lc = new CDMRLC(FLCO_GROUP, data.getSrcId(), m_toTG);
|
||||
m_embeddedLC.setLC(*m_lc);
|
||||
}
|
||||
|
||||
m_lc->setDstId(m_toTG);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue