Skip to content

Commit

Permalink
Disable receiving of DMR slot 1 in DMO mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
g4klx committed May 16, 2016
1 parent 59ea7ef commit 5cbfa2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions DMRIPSC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5cbfa2b

Please sign in to comment.