mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 22:45:31 +00:00
Regenerate the header structures and fix the data header.
This commit is contained in:
parent
ac82c4f6bc
commit
0881df603d
7 changed files with 182 additions and 118 deletions
|
|
@ -42,9 +42,9 @@ bool CDMRControl::processWakeup(const unsigned char* data)
|
|||
if (data[0U] != TAG_DATA || data[1U] != (DMR_IDLE_RX | DMR_SYNC_DATA | DT_CSBK))
|
||||
return false;
|
||||
|
||||
CDMRCSBK csbk(data + 2U);
|
||||
|
||||
if (!csbk.isValid())
|
||||
CDMRCSBK csbk;
|
||||
bool valid = csbk.put(data + 2U);
|
||||
if (!valid)
|
||||
return false;
|
||||
|
||||
CSBKO csbko = csbk.getCSBKO();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue