From 4331594e4ac0255ace9ed3b691564b2f30fd42fd Mon Sep 17 00:00:00 2001 From: Steven Franke Date: Fri, 22 Apr 2022 07:50:03 -0500 Subject: [PATCH] Make wspr mode work properly with 3 character callsigns like N1D. --- lib/wsprd/wsprsim_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wsprd/wsprsim_utils.c b/lib/wsprd/wsprsim_utils.c index b6b95c491..0130a87ec 100644 --- a/lib/wsprd/wsprsim_utils.c +++ b/lib/wsprd/wsprsim_utils.c @@ -196,7 +196,7 @@ int get_wspr_channel_symbols(char* rawmessage, char* hashtab, char* loctab, unsi // Use the presence and/or absence of "<" and "/" to decide what // type of message. No sanity checks! Beware! - if( i1 > 3 && i1 < 7 && i2 == mlen && i3 == mlen ) { + if( i1 >= 3 && i1 < 7 && i2 == mlen && i3 == mlen ) { // Type 1 message: K9AN EN50 33 // xxnxxxx xxnn nn callsign = strtok(message," ");