diff --git a/src/dmr_csbk.c b/src/dmr_csbk.c index 6395ddb..1467388 100644 --- a/src/dmr_csbk.c +++ b/src/dmr_csbk.c @@ -608,6 +608,7 @@ void dmr_cspdu (dsd_opts * opts, dsd_state * state, uint8_t cs_pdu_bits[], uint8 state->p25_vc_freq[0] = state->p25_vc_freq[1] = state->trunk_chan_map[lcn]; opts->p25_is_tuned = 1; //set to 1 to set as currently tuned so we don't keep tuning nonstop state->is_con_plus = 1; //flag on + state->last_vc_sync_time = time(NULL); //bugfix: set sync here so we don't immediately tune back to CC constantly. } } @@ -618,6 +619,7 @@ void dmr_cspdu (dsd_opts * opts, dsd_state * state, uint8_t cs_pdu_bits[], uint8 state->p25_vc_freq[0] = state->p25_vc_freq[1] = state->trunk_chan_map[lcn]; opts->p25_is_tuned = 1; state->is_con_plus = 1; //flag on + state->last_vc_sync_time = time(NULL); //bugfix: set sync here so we don't immediately tune back to CC constantly. } } } diff --git a/src/dsd_main.c b/src/dsd_main.c index a4b31c6..77666ac 100644 --- a/src/dsd_main.c +++ b/src/dsd_main.c @@ -1679,6 +1679,7 @@ main (int argc, char **argv) state.rf_mod = 0; opts.dmr_stereo = 1; opts.dmr_mono = 0; + // opts.setmod_bw = 7000; opts.setmod_bw = 7000; opts.pulse_digi_rate_out = 24000; opts.pulse_digi_out_channels = 2;