From 1ac56c7e66df793c4616f01e2104ef77a42b619f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Nov=C3=BD?= Date: Sun, 10 Feb 2019 17:08:35 +0100 Subject: [PATCH] Fix config indent and header when PRINT_RARE_PARAMS is enabled --- gd77.c | 10 +++++----- md380.c | 2 ++ rd5r.c | 8 ++++---- uv380.c | 4 +++- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/gd77.c b/gd77.c index 4f5e91a..9132c44 100644 --- a/gd77.c +++ b/gd77.c @@ -944,10 +944,8 @@ static void print_chan_base(FILE *out, channel_t *ch, int cnum) // // Print extended parameters of the channel: // TOT Rekey Delay -// RX Ref Frequency -// RX Ref Frequency -// Lone Worker // VOX +// Talkaround // static void print_chan_ext(FILE *out, channel_t *ch) { @@ -1013,6 +1011,8 @@ static void print_digital_channels(FILE *out, int verbose) fprintf(out, "%-4d", ch->contact_name_index); #ifdef PRINT_RARE_PARAMS + fprintf(out, " "); + print_chan_ext(out, ch); // Extended digital parameters of the channel: @@ -1075,7 +1075,7 @@ static void print_analog_channels(FILE *out, int verbose) } fprintf(out, "Analog Name Receive Transmit Power Scan TOT RO Admit Squelch RxTone TxTone Width"); #ifdef PRINT_RARE_PARAMS - fprintf(out, " Dly RxRef TxRef LW VOX TA RxSign TxSign"); + fprintf(out, " Dly VOX TA RxSign TxSign"); #endif fprintf(out, "\n"); for (i=0; ictcss_dcs_receive); fprintf(out, " "); print_tone(out, ch->ctcss_dcs_transmit); - fprintf(out, " %s", BANDWIDTH[ch->bandwidth]); + fprintf(out, " %-6s", BANDWIDTH[ch->bandwidth]); #ifdef PRINT_RARE_PARAMS print_chan_ext(out, ch); diff --git a/md380.c b/md380.c index 11589cb..c5a6c77 100644 --- a/md380.c +++ b/md380.c @@ -886,6 +886,8 @@ static void print_digital_channels(FILE *out, int verbose) fprintf(out, "%-4d", ch->contact_name_index); #ifdef PRINT_RARE_PARAMS + fprintf(out, " "); + print_chan_ext(out, ch); // Extended digital parameters of the channel: diff --git a/rd5r.c b/rd5r.c index 1daa2d5..901e07c 100644 --- a/rd5r.c +++ b/rd5r.c @@ -945,10 +945,8 @@ static void print_chan_base(FILE *out, channel_t *ch, int cnum) // // Print extended parameters of the channel: // TOT Rekey Delay -// RX Ref Frequency -// RX Ref Frequency -// Lone Worker // VOX +// Talkaround // static void print_chan_ext(FILE *out, channel_t *ch) { @@ -1014,6 +1012,8 @@ static void print_digital_channels(FILE *out, int verbose) fprintf(out, "%-4d", ch->contact_name_index); #ifdef PRINT_RARE_PARAMS + fprintf(out, " "); + print_chan_ext(out, ch); // Extended digital parameters of the channel: @@ -1076,7 +1076,7 @@ static void print_analog_channels(FILE *out, int verbose) } fprintf(out, "Analog Name Receive Transmit Power Scan TOT RO Admit Squelch RxTone TxTone Width"); #ifdef PRINT_RARE_PARAMS - fprintf(out, " Dly RxRef TxRef LW VOX TA RxSign TxSign"); + fprintf(out, " Dly VOX TA RxSign TxSign"); #endif fprintf(out, "\n"); for (i=0; icontact_name_index); #ifdef PRINT_EXTENDED_PARAMS + fprintf(out, " "): + print_chan_ext(out, ch); // Extended digital parameters of the channel: