Fix a bug that caused many false decodes in JT65 VHF/UHF operation, when AP decoding was enabled.

This commit is contained in:
Steve Franke 2018-11-14 07:09:59 -06:00
parent a87f3d3a27
commit b842ab7416
1 changed files with 3 additions and 2 deletions

View File

@ -57,8 +57,9 @@ subroutine sync65(nfa,nfb,naggressive,ntol,nqsym,ca,ncand,nrobust, &
freq=i*df
itry=0
! if(naggressive.gt.0 .and. ntol.lt.1000 .and. ccfmax.ge.thresh0) then
if(naggressive.gt.0 .and. ccfmax.ge.thresh0) then
if(i.ne.ipk) cycle
! if(naggressive.gt.0 .and. ccfmax.ge.thresh0) then
if(bVHF) then
if(i.ne.ipk .or. ccfmax.lt.thresh0) cycle
itry=1
ncand=ncand+1
else