Fix merge gone wrong in DMRTX.cpp

This commit is contained in:
adrian 2026-04-19 11:12:37 +03:00
parent a696fd454c
commit 30ba4c4c55

View file

@ -378,7 +378,9 @@ void CDMRTX::createCACH(uint8_t txSlotIndex, uint8_t rxSlotIndex)
m_cachPtr = 0U;
if (m_cachPtr == 0U) {
if (m_fifo[0U].getData() == 0U && m_fifo[1U].getData() == 0U)
if ((m_fifo[0U].getData() == 0U && m_fifo[1U].getData() == 0U) && !m_trunking)
::memcpy(m_shortLC, EMPTY_SHORT_LC, 12U);
else
::memcpy(m_shortLC, m_newShortLC, 12U);
}