Make wspr mode work properly with 3 character callsigns like N1D.

This commit is contained in:
Steven Franke 2022-04-22 07:50:03 -05:00
parent ab72238132
commit 4331594e4a

View File

@ -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," ");