NXDN Sync Type Tweak;

This commit is contained in:
lwvmobile 2022-12-03 17:08:01 -05:00
parent 10d10063f0
commit f7d103c6a2
1 changed files with 2 additions and 1 deletions

View File

@ -152,7 +152,8 @@ void nxdn_frame (dsd_opts * opts, dsd_state * state)
if (opts->payload == 1) fprintf(stderr, " false sync or unsupported NXDN lich type 0x%02X\n", lich);
//reset the sacch field, we probably got a false sync and need to wipe or give a bad crc
memset (state->nxdn_sacch_frame_segment, 0, sizeof(state->nxdn_sacch_frame_segment));
memset (state->nxdn_sacch_frame_segcrc, 1, sizeof(state->nxdn_sacch_frame_segcrc));
memset (state->nxdn_sacch_frame_segcrc, 1, sizeof(state->nxdn_sacch_frame_segcrc));
state->lastsynctype = -1; //set to -1 so we don't jump back here too quickly
voice = 0;
goto END;
break;