P25 - Phase 2 CC to Phase 1 SNDCP Channel Timing;

This commit is contained in:
lwvmobile
2023-11-24 16:18:56 -05:00
parent 0ecc9765dd
commit f98bad18b9
3 changed files with 28 additions and 0 deletions

View File

@@ -220,6 +220,15 @@ if(opts->frame_m17 == 1) //&& opts->audio_in_type == 5
opts->slot1_on = 1;
opts->slot2_on = 1;
}
//if P25p1 SNDCP channel (or revert) and going to a P25 TDMA CC
else if (state->p25_cc_is_tdma == 1)
{
state->samplesPerSymbol = 8;
state->symbolCenter = 3;
//re-enable both slots (in case of late entry voice, MAC_SIGNAL can turn them back off)
opts->slot1_on = 1;
opts->slot2_on = 1;
}
}
//zero out vc frequencies?
state->p25_vc_freq[0] = 0;