diff --git a/examples/Makefile b/examples/Makefile index 32ac882..9c0e900 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -12,7 +12,7 @@ VPATH = ../../dmrconfig.wiki/files all: $(CONF) clean: - rm -f *.conf + rm -f $(CONF) .SUFFIXES: .conf .rdt diff --git a/md380.c b/md380.c index 78cb879..c63e78c 100644 --- a/md380.c +++ b/md380.c @@ -1206,7 +1206,7 @@ static void md380_print_config(radio_device_t *radio, FILE *out, int verbose) fprintf(out, "%5d ", i+1); print_unicode(out, ct->name, 16, 1); fprintf(out, " %-7s %-8d %s\n", - CONTACT_TYPE[ct->type], CONTACT_ID(ct), ct->receive_tone ? "+" : "-"); + CONTACT_TYPE[ct->type & 3], CONTACT_ID(ct), ct->receive_tone ? "+" : "-"); } } diff --git a/uv380.c b/uv380.c index e87833f..40eb0e9 100644 --- a/uv380.c +++ b/uv380.c @@ -1294,7 +1294,7 @@ static void uv380_print_config(radio_device_t *radio, FILE *out, int verbose) fprintf(out, "%5d ", i+1); print_unicode(out, ct->name, 16, 1); fprintf(out, " %-7s %-8d %s\n", - CONTACT_TYPE[ct->type], CONTACT_ID(ct), ct->receive_tone ? "+" : "-"); + CONTACT_TYPE[ct->type & 3], CONTACT_ID(ct), ct->receive_tone ? "+" : "-"); } }