mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-01-24 17:30:21 +01:00
Disable receiving of DMR slot 1 in DMO mode.
This commit is contained in:
parent
59ea7efa04
commit
5cbfa2b331
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue