Fix Hangtime/CC Return Bug;

This commit is contained in:
lwvmobile 2022-12-09 22:39:37 -05:00
parent 15a8f80344
commit e91c21fadb
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ noCarrier (dsd_opts * opts, dsd_state * state)
// state->p25_vc_freq[0] = 0;
// state->p25_vc_freq[1] = 0;
if (state->last_cc_sync_time > 30) //thirty seconds of no carrier
if (time(NULL) - state->last_cc_sync_time > 30) //thirty seconds of no carrier
{
state->dmr_rest_channel = -1;
state->p25_vc_freq[0] = 0;