mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-06-24 14:15:16 -04:00
Better arrangement of timeout criteria for the QMAP decoder.
This commit is contained in:
parent
cc9c1c62c9
commit
9044718e36
@ -62,6 +62,11 @@ subroutine qmapa(dd,ss,savg,newdat,nutc,fcenter,ntol,nfa,nfb, &
|
|||||||
call timer('fftbig ',1)
|
call timer('fftbig ',1)
|
||||||
|
|
||||||
do icand=1,ncand !Attempt to decode each candidate
|
do icand=1,ncand !Attempt to decode each candidate
|
||||||
|
tsec=sec_midn() - tsec0
|
||||||
|
! Don't start another decode attempt if it's too late...
|
||||||
|
if(nhsym.eq.200 .and. tsec.gt.10.0) exit
|
||||||
|
if(nhsym.eq.330 .and. tsec.gt.6.0) exit
|
||||||
|
if(nhsym.eq.390 .and. tsec.gt.16.0) exit
|
||||||
f0=cand(icand)%f
|
f0=cand(icand)%f
|
||||||
ntrperiod=cand(icand)%ntrperiod
|
ntrperiod=cand(icand)%ntrperiod
|
||||||
iseq=cand(icand)%iseq
|
iseq=cand(icand)%iseq
|
||||||
@ -76,10 +81,6 @@ subroutine qmapa(dd,ss,savg,newdat,nutc,fcenter,ntol,nfa,nfb, &
|
|||||||
nkhz_center,newdat,nagain2,bClickDecode,max_drift,offset, &
|
nkhz_center,newdat,nagain2,bClickDecode,max_drift,offset, &
|
||||||
ndepth,datetime,nCFOM,ndop00,nhsym,idec)
|
ndepth,datetime,nCFOM,ndop00,nhsym,idec)
|
||||||
call timer('q65b ',1)
|
call timer('q65b ',1)
|
||||||
tsec=sec_midn() - tsec0
|
|
||||||
! Don't start another decode attempt if it's too late...
|
|
||||||
if(nhsym.eq.330 .and. tsec.gt.6.0) exit
|
|
||||||
if(tsec.gt.16.0) exit
|
|
||||||
if(bClickDecode .and. idec.ge.0) exit
|
if(bClickDecode .and. idec.ge.0) exit
|
||||||
enddo ! icand
|
enddo ! icand
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user