From 296a3eb30b06f4b7b42e8f17028759e61f53eec5 Mon Sep 17 00:00:00 2001 From: Guenael Date: Thu, 23 Dec 2021 00:56:16 -0500 Subject: [PATCH] fix: avoid A000AA pattern --- wsprd/wsprd.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wsprd/wsprd.c b/wsprd/wsprd.c index 2a3fdd8..384513a 100644 --- a/wsprd/wsprd.c +++ b/wsprd/wsprd.c @@ -784,6 +784,10 @@ int wspr_decode(float *idat, } } + // Avoid this incorrect pattern + if (!strcmp(loc, "A000AA")) + break; + // Remove dupes (same callsign and freq within 3 Hz) int32_t dupe = 0; for (i = 0; i < uniques; i++) {