Skip to content

Commit

Permalink
Check if SACCH is a VCALL during late entry at the first block
Browse files Browse the repository at this point in the history
  • Loading branch information
juribeparada committed Feb 12, 2018
1 parent ee3b6a0 commit 66ea1ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion NXDNControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,11 @@ bool CNXDNControl::processVoice(unsigned char usc, unsigned char option, unsigne
unsigned char structure = sacch.getStructure();
switch (structure) {
case NXDN_SR_1_4:
m_rfMask |= 0x01U;
m_rfLayer3.decode(message, 18U, 0U);
if(m_rfLayer3.getMessageType() == NXDN_MESSAGE_TYPE_VCALL)
m_rfMask = 0x01U;
else
m_rfMask = 0x00U;
break;
case NXDN_SR_2_4:
m_rfMask |= 0x02U;
Expand Down

0 comments on commit 66ea1ff

Please sign in to comment.