From 4ea864fbb25e733b20c1a1b94d5c86e2c1a721cf Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Wed, 8 Dec 2021 12:02:06 -0500 Subject: [PATCH] fix issue where P25 may not reset the COS state; --- p25/P25RX.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/p25/P25RX.cpp b/p25/P25RX.cpp index b9e77b6..b31182f 100644 --- a/p25/P25RX.cpp +++ b/p25/P25RX.cpp @@ -120,9 +120,9 @@ void P25RX::databit(bool bit) m_buffer[i] = P25_SYNC_BYTES[i]; m_state = P25RXS_SYNC; - - io.setDecode(true); } + + io.setDecode(m_state != P25RXS_NONE); } }