diff --git a/src/dsd_ncurses.c b/src/dsd_ncurses.c index 829877c..d5e30af 100644 --- a/src/dsd_ncurses.c +++ b/src/dsd_ncurses.c @@ -2519,6 +2519,9 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) printw ( "[%d] \n", (48000*opts->wav_interpolator)/state->samplesPerSymbol); printw ("| Decoding: [%s] ", opts->output_name); if (opts->aggressive_framesync == 0) printw ("CRC/(RAS) "); + //TG Hold on EDACS, if specified by user + if ( (opts->frame_provoice == 1) && (state->tg_hold != 0) ) + printw ("TG HOLD: %d; ", state->tg_hold); //debug -- troubleshoot voice tuning after grant on DMR CC, subsequent grant may not tune because tuner isn't available if (opts->p25_trunk == 1 && opts->p25_is_tuned == 1) printw ("Tuner Locked "); if (opts->p25_trunk == 1 && opts->p25_is_tuned == 0) printw ("Tuner Available "); @@ -2847,6 +2850,9 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) else attroff(COLOR_PAIR(4)); } + //TG Hold, if specified by user + if (state->tg_hold != 0) printw ("TG HOLD: %d", state->tg_hold); + printw("\n"); } @@ -3580,6 +3586,9 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) if (state->tg_hold == 0) state->tg_hold = state->lasttg; else state->tg_hold = 0; + + if ( (opts->frame_nxdn48 == 1 || opts->frame_nxdn96 == 1) && (state->tg_hold == 0) ) + state->tg_hold = state->nxdn_last_tg; } if (c == 108) //'l' key, hold tg on slot 2 for trunking purposes, or toggle clear