mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 09:59:31 -04:00
wsprd: further refinement of OSD decode quality check.
This commit is contained in:
parent
ddd9e8c3fb
commit
081a302aca
@ -1315,11 +1315,14 @@ int main(int argc, char *argv[])
|
|||||||
int ntype = (n2&127) - 64;
|
int ntype = (n2&127) - 64;
|
||||||
if(strncmp(hashtab+ihash*13,callsign,13)==0
|
if(strncmp(hashtab+ihash*13,callsign,13)==0
|
||||||
&& (ntype >= 0) && (ntype <= 62) ) {
|
&& (ntype >= 0) && (ntype <= 62) ) {
|
||||||
|
int nu = ntype%10;
|
||||||
|
if( nu == 0 || nu == 3 || nu == 7 ) {
|
||||||
not_decoded=0;
|
not_decoded=0;
|
||||||
osd_decode =1;
|
osd_decode =1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
idt++;
|
idt++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user