because LLMs are retarded, put commentary for raw TSBK handling because these intentionally fail open;

copyright-updates-w3axl
Bryan Biedenkapp 3 days ago
parent 9f8a336386
commit 86c9c1d3dc

@ -210,6 +210,7 @@ bool TSBK::decode(const uint8_t* data, uint8_t* payload, bool rawTSBK)
}
else {
LogError(LOG_P25, "TSBK::decode(), failed CRC CCITT-162 check");
// this intentionally fails open -- some raw TSBK handling does not submit valid CRCs
}
}
}

@ -78,6 +78,7 @@ std::unique_ptr<TSBK> TSBKFactory::createTSBK(const uint8_t* data, bool rawTSBK)
}
else {
LogError(LOG_P25, "TSBKFactory::createTSBK(), failed CRC CCITT-162 check");
// this intentionally fails open -- some raw TSBK handling does not submit valid CRCs
}
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.