From 28e9e08e7ee604bdf87acf6d9343816b30878b76 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 2 May 2020 13:40:28 -0400 Subject: [PATCH 1/2] Fixed bug in Morse Code for 'I' --- morse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/morse.c b/morse.c index df0038d8..851de72e 100644 --- a/morse.c +++ b/morse.c @@ -70,7 +70,7 @@ static const struct morse_s { { 'F', "..-." }, { 'G', "--." }, { 'H', "...." }, - { 'I', "." }, + { 'I', ".." }, { 'J', ".---" }, { 'K', "-.-" }, { 'L', ".-.." }, From 85fc3c41a74a8df26edf055df2604b38387e3b46 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Wed, 11 Aug 2021 12:28:20 -0400 Subject: [PATCH 2/2] commented out printf for frequency in non-standard format (AO-7 telem generates this error accidentally) --- decode_aprs.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/decode_aprs.c b/decode_aprs.c index 35c186b7..4ab1c3f1 100644 --- a/decode_aprs.c +++ b/decode_aprs.c @@ -4529,10 +4529,10 @@ static void process_comment (decode_aprs_t *A, char *pstart, int clen) (x >= 902 && x <= 928)) { if ( ! A->g_quiet) { - snprintf (good, sizeof(good), "%07.3fMHz", x); +// snprintf (good, sizeof(good), "%07.3fMHz", x); text_color_set(DW_COLOR_ERROR); - dw_printf("\"%s\" in comment looks like a frequency in non-standard format.\n", bad); - dw_printf("For most systems to recognize it, use exactly this form \"%s\" at beginning of comment.\n", good); +// dw_printf("\"%s\" in comment looks like a frequency in non-standard format.\n", bad); +// dw_printf("For most systems to recognize it, use exactly this form \"%s\" at beginning of comment.\n", good); } if (A->g_freq == G_UNKNOWN) { A->g_freq = x; @@ -4571,10 +4571,10 @@ static void process_comment (decode_aprs_t *A, char *pstart, int clen) if (strcmp (s_ctcss[i], bad2) == 0) { if ( ! A->g_quiet) { - snprintf (good, sizeof(good), "T%03d", i_ctcss[i]); +// snprintf (good, sizeof(good), "T%03d", i_ctcss[i]); text_color_set(DW_COLOR_ERROR); - dw_printf("\"%s\" in comment looks like it might be a CTCSS tone in non-standard format.\n", bad1); - dw_printf("For most systems to recognize it, use exactly this form \"%s\" at near beginning of comment, after any frequency.\n", good); +// dw_printf("\"%s\" in comment looks like it might be a CTCSS tone in non-standard format.\n", bad1); +// dw_printf("For most systems to recognize it, use exactly this form \"%s\" at near beginning of comment, after any frequency.\n", good); } if (A->g_tone == G_UNKNOWN) { A->g_tone = atof(bad2);