mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 22:46:59 +00:00
Set up ring buffer overflow signalling and a little debugging.
This commit is contained in:
parent
dd17a47972
commit
d9b5f5753e
7 changed files with 45 additions and 6 deletions
|
|
@ -112,7 +112,7 @@ void CDMRIdleRX::processSample(q15_t sample)
|
|||
errs += countBits8((sync[i] & DMR_SYNC_BYTES_MASK[i]) ^ DMR_MS_DATA_SYNC_BYTES[i]);
|
||||
|
||||
if (errs <= MAX_SYNC_BYTES_ERRS) {
|
||||
DEBUG4("DMRIdleRX: data sync found pos/centre/threshold", m_dataPtr, centre, threshold);
|
||||
DEBUG3("DMRIdleRX: data sync found centre/threshold", centre, threshold);
|
||||
m_maxCorr = corr;
|
||||
m_centre = centre;
|
||||
m_threshold = threshold;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue