From 5cbfa2b331462c687585516dd01c78a5303f8adf Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 16 May 2016 17:27:56 +0100 Subject: [PATCH] Disable receiving of DMR slot 1 in DMO mode. --- DMRIPSC.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DMRIPSC.cpp b/DMRIPSC.cpp index 1eb0b99..66485f2 100644 --- a/DMRIPSC.cpp +++ b/DMRIPSC.cpp @@ -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;