Disable receiving of DMR slot 1 in DMO mode.

This commit is contained in:
Jonathan Naylor 2016-05-16 17:27:56 +01:00
parent 59ea7efa04
commit 5cbfa2b331

View file

@ -155,6 +155,10 @@ bool CDMRIPSC::read(CDMRData& data)
unsigned int slotNo = (m_buffer[15U] & 0x80U) == 0x80U ? 2U : 1U;
// DMO mode slot disabling
if (slotNo == 1U && !m_duplex)
return false;
// Individual slot disabling
if (slotNo == 1U && !m_slot1)
return false;