Disable receiving of DMR slot 1 in DMO mode.
This commit is contained in:
parent
59ea7efa04
commit
5cbfa2b331
1 changed files with 4 additions and 0 deletions
|
@ -155,6 +155,10 @@ bool CDMRIPSC::read(CDMRData& data)
|
||||||
|
|
||||||
unsigned int slotNo = (m_buffer[15U] & 0x80U) == 0x80U ? 2U : 1U;
|
unsigned int slotNo = (m_buffer[15U] & 0x80U) == 0x80U ? 2U : 1U;
|
||||||
|
|
||||||
|
// DMO mode slot disabling
|
||||||
|
if (slotNo == 1U && !m_duplex)
|
||||||
|
return false;
|
||||||
|
|
||||||
// Individual slot disabling
|
// Individual slot disabling
|
||||||
if (slotNo == 1U && !m_slot1)
|
if (slotNo == 1U && !m_slot1)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue