M17 - Allow LSF Decode on CRC Err if AF Bypass Enabled;

This commit is contained in:
lwvmobile
2024-03-12 14:05:20 -04:00
parent 6c4584a00a
commit a0b199d208
2 changed files with 11 additions and 0 deletions

View File

@@ -290,6 +290,8 @@ int M17processLICH(dsd_state * state, dsd_opts * opts, uint8_t * lich_bits)
if (crc_err == 0)
M17decodeLSF(state);
else if (opts->aggressive_framesync == 0)
M17decodeLSF(state);
if (opts->payload == 1)
{
@@ -794,6 +796,9 @@ void processM17LSF(dsd_opts * opts, dsd_state * state)
if (crc_err == 0)
M17decodeLSF(state);
else if (opts->aggressive_framesync == 0)
M17decodeLSF(state);
if (opts->payload == 1)
{
fprintf (stderr, "\n LSF: ");
@@ -887,6 +892,8 @@ void processM17LSF_debug(dsd_opts * opts, dsd_state * state, uint8_t * m17_depun
if (crc_err == 0)
M17decodeLSF(state);
else if (opts->aggressive_framesync == 0)
M17decodeLSF(state);
if (opts->payload == 1)
{
@@ -986,6 +993,8 @@ void processM17LSF_debug2(dsd_opts * opts, dsd_state * state, uint8_t * m17_rnd_
if (crc_err == 0)
M17decodeLSF(state);
else if (opts->aggressive_framesync == 0)
M17decodeLSF(state);
if (opts->payload == 1)
{