From 1e994e920a5a4256342ee0428368bdac69933700 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 20 Jun 2016 18:33:04 +0100 Subject: [PATCH] Let the modem handle the null Short LC itself. --- DMRSlot.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/DMRSlot.cpp b/DMRSlot.cpp index 98db544..aaf461c 100644 --- a/DMRSlot.cpp +++ b/DMRSlot.cpp @@ -1579,6 +1579,10 @@ void CDMRSlot::setShortLC(unsigned int slotNo, unsigned int id, FLCO flco, bool return; } + // If we have no activity to report, let the modem send the null Short LC when it's ready + if (m_id1 == 0U && m_id2 == 0U) + return; + unsigned char lc[5U]; lc[0U] = 0x01U; lc[1U] = 0x00U;