From 23f6c752570a132158039867addcc1fc1975aef1 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Fri, 28 Jul 2023 19:26:53 -0400 Subject: [PATCH] Ncurses Tweak for TDMA Slot ON/OFF; --- src/dsd_ncurses.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/dsd_ncurses.c b/src/dsd_ncurses.c index a6f45f2..d04c4ba 100644 --- a/src/dsd_ncurses.c +++ b/src/dsd_ncurses.c @@ -2436,19 +2436,25 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) if (opts->mod_gfsk == 1) printw ("[GFSK]"); printw ( "[%d] \n", (48000*opts->wav_interpolator)/state->samplesPerSymbol); printw ("| Decoding: [%s] \n", opts->output_name); - printw ("| In Level: [%02d%%] \n", level); + printw ("| In Level: [%02d%%] \n", level); + if (opts->dmr_stereo == 0) { - printw ("| Voice Error: [%i][%i] \n", state->errs, state->errs2); + printw ("| Voice Error: [%i][%i]", state->errs, state->errs2); + if (opts->slot1_on == 0) printw (" OFF"); + if (opts->slot1_on == 1) printw (" ON"); + printw ("\n"); } if (opts->dmr_stereo == 1) { - printw ("| Voice ErrS1: [%i][%i] Slot 1", state->errs, state->errs2); + printw ("| Voice ErrS1: [%i][%i] Slot 1 (1)", state->errs, state->errs2); if (opts->slot1_on == 0) printw (" OFF"); + if (opts->slot1_on == 1) printw (" ON"); printw ("\n"); - printw ("| Voice ErrS2: [%i][%i] Slot 2", state->errsR, state->errs2R); + printw ("| Voice ErrS2: [%i][%i] Slot 2 (2)", state->errsR, state->errs2R); if (opts->slot2_on == 0) printw (" OFF"); + if (opts->slot2_on == 1) printw (" ON"); printw ("\n"); } printw ("------------------------------------------------------------------------------\n");