mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 22:46:59 +00:00
Loosen the matching for the frame start sync pattern.
This commit is contained in:
parent
70e3779d64
commit
90d00846ab
1 changed files with 2 additions and 2 deletions
|
|
@ -325,8 +325,8 @@ void CDStarRX::processNone(bool bit)
|
|||
if (bit)
|
||||
m_patternBuffer |= 0x01U;
|
||||
|
||||
// Exact matching of the frame sync sequence
|
||||
if (countBits32((m_patternBuffer & FRAME_SYNC_MASK) ^ FRAME_SYNC_DATA) == 0U) {
|
||||
// Fuzzy matching of the frame sync sequence
|
||||
if (countBits32((m_patternBuffer & FRAME_SYNC_MASK) ^ FRAME_SYNC_DATA) <= FRAME_SYNC_ERRS) {
|
||||
DEBUG1("DStarRX: found frame sync in None");
|
||||
|
||||
::memset(m_rxBuffer, 0x00U, DSTAR_FEC_SECTION_LENGTH_BYTES);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue