Lima Zulu Tweaks III; #123

This commit is contained in:
lwvmobile
2023-05-17 07:37:28 -04:00
parent 8d5c82356e
commit 587a3f01a2
3 changed files with 18 additions and 5 deletions

View File

@@ -90,10 +90,18 @@ void
noCarrier (dsd_opts * opts, dsd_state * state)
{
//only do it here on the tweaks
#ifdef LIMAZULUTWEAKS
state->nxdn_last_ran = -1;
#endif
//experimental conventional frequency scanner mode
if (opts->scanner_mode == 1 && ( (time(NULL) - state->last_cc_sync_time) > opts->trunk_hangtime))
{
//always do this one -- makes sense during scanning
state->nxdn_last_ran = -1;
if (state->lcn_freq_roll >= state->lcn_freq_count)
{
state->lcn_freq_roll = 0; //reset to zero