Fix P25p2 SACCH PDU Issue;

This commit is contained in:
lwvmobile 2023-07-22 18:28:41 -04:00
parent 1a8efd5835
commit f2f20f8f94
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ void process_SACCH_MAC_PDU (dsd_opts * opts, dsd_state * state, int payload[180]
int err = -2;
if (state->p2_is_lcch == 0)
{
int err = crc12_xb_bridge(payload, 180-12);
err = crc12_xb_bridge(payload, 180-12);
if (err != 0) //CRC Failure, warn or skip.
{
if (SMAC[1] == 0x0) //NULL PDU Check, pass if NULL type