From 38516074dd81bf2fdfc7b1e125956b9419b6cc04 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 13 Mar 2017 08:24:35 +0000 Subject: [PATCH] Forgot to set the at variable within the CACH. --- DMRTX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DMRTX.cpp b/DMRTX.cpp index f42aba9..51cd60d 100644 --- a/DMRTX.cpp +++ b/DMRTX.cpp @@ -340,7 +340,7 @@ void CDMRTX::createCACH(uint8_t txSlotIndex, uint8_t rxSlotIndex) bool at = false; if (m_frameCount >= STARTUP_COUNT) - m_fifo[rxSlotIndex].getData() > 0U; + at = m_fifo[rxSlotIndex].getData() > 0U; bool tc = txSlotIndex == 1U; bool ls0 = true; // For 1 and 2 bool ls1 = true;