From d6d87669d43efebefb5607b37bb5c329aa3ac7c6 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 3 Oct 2017 12:18:06 +0100 Subject: [PATCH] Remove unneeded code. --- DMRSlot.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/DMRSlot.cpp b/DMRSlot.cpp index ae3845e..ece7bd2 100644 --- a/DMRSlot.cpp +++ b/DMRSlot.cpp @@ -1796,7 +1796,6 @@ void CDMRSlot::setShortLC(unsigned int slotNo, unsigned int id, FLCO flco, ACTIV if (m_id1 != 0U) { lc[2U] = m_id1; - lc[1U] &= 0x0FU; if (m_activity1 == ACTIVITY_VOICE && m_flco1 == FLCO_GROUP) lc[1U] |= 0x80U; else if (m_activity1 == ACTIVITY_VOICE && m_flco1 == FLCO_USER_USER) @@ -1813,7 +1812,6 @@ void CDMRSlot::setShortLC(unsigned int slotNo, unsigned int id, FLCO flco, ACTIV if (m_id2 != 0U) { lc[3U] = m_id2; - lc[1U] &= 0xF0U; if (m_activity2 == ACTIVITY_VOICE && m_flco2 == FLCO_GROUP) lc[1U] |= 0x08U; else if (m_activity2 == ACTIVITY_VOICE && m_flco2 == FLCO_USER_USER)