ignore logging excessive sync frame errors;

pull/66/head
Bryan Biedenkapp 2 years ago
parent 2b20a509cb
commit 958c33c65a

@ -557,9 +557,10 @@ bool Control::processFrame(uint8_t* data, uint32_t len)
errs += Utils::countBits8(syncBytes[i] ^ P25_SYNC_BYTES[i]); errs += Utils::countBits8(syncBytes[i] ^ P25_SYNC_BYTES[i]);
if (errs >= MAX_SYNC_BYTES_ERRS) { if (errs >= MAX_SYNC_BYTES_ERRS) {
/*
LogWarning(LOG_RF, "P25, possible sync word rejected, errs = %u, sync word = %02X %02X %02X %02X %02X %02X", errs, LogWarning(LOG_RF, "P25, possible sync word rejected, errs = %u, sync word = %02X %02X %02X %02X %02X %02X", errs,
syncBytes[0U], syncBytes[1U], syncBytes[2U], syncBytes[3U], syncBytes[4U], syncBytes[5U]); syncBytes[0U], syncBytes[1U], syncBytes[2U], syncBytes[3U], syncBytes[4U], syncBytes[5U]);
*/
return false; return false;
} }
else { else {

Loading…
Cancel
Save

Powered by TurnKey Linux.