Change DMR ALOHA header to 0x17

This commit is contained in:
adrian 2026-04-19 11:32:07 +03:00
parent 30ba4c4c55
commit 549dfd7258
2 changed files with 7 additions and 5 deletions

View file

@ -378,10 +378,12 @@ 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) && !m_trunking)
::memcpy(m_shortLC, EMPTY_SHORT_LC, 12U);
else
::memcpy(m_shortLC, m_newShortLC, 12U);
if (m_fifo[0U].getData() == 0U && m_fifo[1U].getData() == 0U) {
if(!m_trunking)
::memcpy(m_shortLC, EMPTY_SHORT_LC, 12U);
else
::memcpy(m_shortLC, m_newShortLC, 12U);
}
}
::memcpy(m_poBuffer, m_shortLC + m_cachPtr, 3U);