mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-21 06:13:49 +00:00
Merge pull request #865 from BeigeBox/fix/p25-tsdu-fallthrough
Fix missing break in P25 GROUP TSDU encoding
This commit is contained in:
commit
2ba4ef9e34
1 changed files with 1 additions and 0 deletions
|
|
@ -428,6 +428,7 @@ void CP25Data::encodeTSDU(unsigned char* data)
|
|||
tsbkValue = (tsbkValue << 16) + 0U; // Channel ID/Number (16 bits) - 0 for conventional
|
||||
tsbkValue = (tsbkValue << 16) + (m_dstId & 0xFFFFU); // Group Address (16 bits)
|
||||
tsbkValue = (tsbkValue << 24) + (m_srcId & 0xFFFFFFU); // Source Radio Address (24 bits)
|
||||
break;
|
||||
case P25_LCF_TSBK_CALL_ALERT:
|
||||
tsbkValue = 0U;
|
||||
tsbkValue = (tsbkValue << 16) + 0U;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue