More NXDN/IDAS Tweaks and Fixes; #115 and #118

This commit is contained in:
lwvmobile
2023-04-25 15:37:44 -04:00
parent 0908baa47c
commit acd2b0b134
4 changed files with 97 additions and 29 deletions

View File

@@ -271,6 +271,10 @@ void nxdn_deperm_sacch(dsd_opts * opts, dsd_state * state, uint8_t bits[60])
}
// if (crc != check) fprintf (stderr, " CRC ERR - %02X %02X", check, crc);
}
//reset the sacch field -- Github Issue #118
memset (state->nxdn_sacch_frame_segment, 1, sizeof(state->nxdn_sacch_frame_segment));
memset (state->nxdn_sacch_frame_segcrc, 1, sizeof(state->nxdn_sacch_frame_segcrc));
}