EDACS/PV -- Dotting Sequence Tweaks;

This commit is contained in:
lwvmobile
2023-10-05 13:22:55 -04:00
parent d882962b9c
commit d880d05ea5
2 changed files with 7 additions and 6 deletions

View File

@@ -1193,8 +1193,12 @@ getFrameSync (dsd_opts * opts, dsd_state * state)
}
else if ((strcmp (synctest48, DOTTING_SEQUENCE_A) == 0) || (strcmp (synctest48, DOTTING_SEQUENCE_B) == 0))
{
printFrameSync (opts, state, " EDACS DOTTING SEQUENCE: ", synctest_pos + 1, modulation);
eot_cc (opts, state);
//only print and execute Dotting Sequence if Trunking and Tuned so we don't get multiple prints on this
if (opts->p25_trunk == 1 && opts->p25_is_tuned == 1)
{
printFrameSync (opts, state, " EDACS DOTTING SEQUENCE: ", synctest_pos + 1, modulation);
eot_cc (opts, state);
}
}
}

View File

@@ -254,11 +254,8 @@ void edacs_analog(dsd_opts * opts, dsd_state * state, int afs, unsigned char lcn
// fprintf (stderr, " SR: %016llX", sr);
if (sr == 0xAAAAAAAAAAAAAAAA || sr == 0x5555555555555555)
{
fprintf (stderr, " EDACS DOTTING SEQUENCE: ");
rms = 0; //break while loop by dropping rms value
fprintf (stderr, "\n");
}
if (rms > sql) fprintf (stderr, "\n");