P25 Fix Some Logic Regarding Symbol Rate Switch;

This commit is contained in:
lwvmobile
2023-08-04 17:07:18 -04:00
parent f9b74cf7e2
commit d6181e2dcd
3 changed files with 17 additions and 3 deletions

View File

@@ -207,7 +207,7 @@ if(opts->frame_m17 == 1) //&& opts->audio_in_type == 5
state->last_cc_sync_time = time(NULL);
//test to switch back to 10/4 P1 QPSK for P25 FDMA CC
//reworked to always change back to 10/4 if p25_cc_is_tdma is set to 0 or 1 (inits on 2)
//if P25p2 VCH and going back to P25p1 CC, flip symbolrate
if (state->p25_cc_is_tdma == 0) //is set on signal from P25 TSBK or MAC_SIGNAL
{
state->samplesPerSymbol = 10;