NCurses Display Group Labels in P25 and DMR; Tweak

This commit is contained in:
lwvmobile
2022-11-20 07:31:02 -05:00
parent 61cefa6a87
commit 136ed75342
5 changed files with 60 additions and 16 deletions

View File

@@ -77,7 +77,7 @@ void
noCarrier (dsd_opts * opts, dsd_state * state)
{
//tune back to last knwon CC when using trunking after x second hangtime
//tune back to last known CC when using trunking after x second hangtime
if (opts->p25_trunk == 1 && opts->p25_is_tuned == 1 && time(NULL) - state->last_cc_sync_time > opts->trunk_hangtime)
{
if (state->p25_cc_freq != 0)
@@ -147,7 +147,7 @@ noCarrier (dsd_opts * opts, dsd_state * state)
}
//zero out after x second hangtime when trunking to prevent premature zeroing on these variables
//mainly bugfix for ncurses and per call wavs (edacs)
//mainly bugfix for ncurses and per call wavs (edacs) and also signal fade, etc
if (opts->p25_trunk == 1 && opts->p25_is_tuned == 1 && time(NULL) - state->last_cc_sync_time > opts->trunk_hangtime)
{
state->lasttg = 0;