Add newline before general settings in non-verbose mode.
This commit is contained in:
parent
4ea032d5ca
commit
24b6bafcaf
4
md380.c
4
md380.c
@ -727,8 +727,8 @@ static void print_id(FILE *out, int verbose)
|
|||||||
unsigned id = gs->radio_id[0] | (gs->radio_id[1] << 8) | (gs->radio_id[2] << 16);
|
unsigned id = gs->radio_id[0] | (gs->radio_id[1] << 8) | (gs->radio_id[2] << 16);
|
||||||
|
|
||||||
if (verbose)
|
if (verbose)
|
||||||
fprintf(out, "\n# Unique DMR ID and name of this radio.\n");
|
fprintf(out, "\n# Unique DMR ID and name of this radio.");
|
||||||
fprintf(out, "ID: %u\nName: ", id);
|
fprintf(out, "\nID: %u\nName: ", id);
|
||||||
if (VALID_TEXT(gs->radio_name)) {
|
if (VALID_TEXT(gs->radio_name)) {
|
||||||
print_unicode(out, gs->radio_name, 16, 0);
|
print_unicode(out, gs->radio_name, 16, 0);
|
||||||
} else {
|
} else {
|
||||||
|
4
uv380.c
4
uv380.c
@ -771,8 +771,8 @@ static void print_id(FILE *out, int verbose)
|
|||||||
unsigned id = gs->radio_id[0] | (gs->radio_id[1] << 8) | (gs->radio_id[2] << 16);
|
unsigned id = gs->radio_id[0] | (gs->radio_id[1] << 8) | (gs->radio_id[2] << 16);
|
||||||
|
|
||||||
if (verbose)
|
if (verbose)
|
||||||
fprintf(out, "\n# Unique DMR ID and name of this radio.\n");
|
fprintf(out, "\n# Unique DMR ID and name of this radio.");
|
||||||
fprintf(out, "ID: %u\nName: ", id);
|
fprintf(out, "\nID: %u\nName: ", id);
|
||||||
if (VALID_TEXT(gs->radio_name)) {
|
if (VALID_TEXT(gs->radio_name)) {
|
||||||
print_unicode(out, gs->radio_name, 16, 0);
|
print_unicode(out, gs->radio_name, 16, 0);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user