wsprd: further refinement of OSD decode quality check.

This commit is contained in:
Steve Franke 2018-12-21 19:24:16 -06:00
parent ddd9e8c3fb
commit 081a302aca
1 changed files with 6 additions and 3 deletions

View File

@ -1315,9 +1315,12 @@ int main(int argc, char *argv[])
int ntype = (n2&127) - 64;
if(strncmp(hashtab+ihash*13,callsign,13)==0
&& (ntype >= 0) && (ntype <= 62) ) {
not_decoded=0;
osd_decode =1;
break;
int nu = ntype%10;
if( nu == 0 || nu == 3 || nu == 7 ) {
not_decoded=0;
osd_decode =1;
break;
}
}
}