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 d1c7efb1aa
commit 64a124ff20

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 // Use the presence and/or absence of "<" and "/" to decide what
// type of message. No sanity checks! Beware! // 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 // Type 1 message: K9AN EN50 33
// xxnxxxx xxnn nn // xxnxxxx xxnn nn
callsign = strtok(message," "); callsign = strtok(message," ");