From 9992f4dfebfcdc19a8a1f2308d3458faaed5f542 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 21 Jan 2016 19:23:08 +0000 Subject: [PATCH] Narrow the search range when DMR is not locked. --- DMRSlotRX.cpp | 2 +- SerialPort.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DMRSlotRX.cpp b/DMRSlotRX.cpp index f1c1c63..a076f61 100644 --- a/DMRSlotRX.cpp +++ b/DMRSlotRX.cpp @@ -93,7 +93,7 @@ bool CDMRSlotRX::processSample(q15_t sample) if (m_dataPtr >= min && m_dataPtr <= max) correlateSync(sample); } else { - if (m_dataPtr >= 380U && m_dataPtr <= 530U) + if (m_dataPtr >= 390U && m_dataPtr <= 500U) correlateSync(sample); } diff --git a/SerialPort.cpp b/SerialPort.cpp index 141e00c..5c38118 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -56,7 +56,7 @@ const uint8_t MMDVM_DEBUG4 = 0xF4U; const uint8_t MMDVM_DEBUG5 = 0xF5U; const uint8_t MMDVM_SAMPLES = 0xF8U; -const uint8_t HARDWARE[] = "MMDVM 20160118 (D-Star/DMR/System Fusion)"; +const uint8_t HARDWARE[] = "MMDVM 20160121 (D-Star/DMR/System Fusion)"; const uint8_t PROTOCOL_VERSION = 1U;