Narrow the search range when DMR is not locked.

This commit is contained in:
Jonathan Naylor 2016-01-21 19:23:08 +00:00
parent 420c9125b9
commit 9992f4dfeb
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;