Check if SACCH is a VCALL during late entry at the first block

This commit is contained in:
Andy CA6JAU
2018-02-12 01:38:39 -03:00
parent ee3b6a0e86
commit 66ea1fffd3

View File

@@ -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;