Set up ring buffer overflow signalling and a little debugging.

This commit is contained in:
Jonathan Naylor 2016-01-14 19:15:39 +00:00
parent dd17a47972
commit d9b5f5753e
7 changed files with 45 additions and 6 deletions

View file

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