Oops! Put if() in the wrong place for the JT6M DF test.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@235 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2006-08-03 01:52:58 +00:00
parent ce6d48fd26
commit 94da7afa83
2 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,4 @@
#------------------------------------------------------------------- WSJT #------------------------------------------------------------------ WSJT
from Tkinter import * from Tkinter import *
from tkFileDialog import * from tkFileDialog import *

View File

@ -223,8 +223,6 @@ C Intentionally degrade SNR by -nclip dB.
call syncf0(dat,jz,NFreeze,DFTolerance,jstart,f0,smax) call syncf0(dat,jz,NFreeze,DFTolerance,jstart,f0,smax)
call synct(dat,jz,jstart,f0,smax) call synct(dat,jz,jstart,f0,smax)
call syncf1(dat,jz,jstart,f0,NFreeze,DFTolerance,smax,red) call syncf1(dat,jz,jstart,f0,NFreeze,DFTolerance,smax,red)
if(NFreeze.gt.0 .and. abs(f0-f00).gt.float(DFTolerance))
+ go to 800
f0a=f0 f0a=f0
do i=1,512 do i=1,512
@ -247,8 +245,14 @@ C Intentionally degrade SNR by -nclip dB.
jz=jz-jstart+1 jz=jz-jstart+1
nslim=MinSigdB nslim=MinSigdB
NFixLen=0 NFixLen=0
C Call the decoder if DF is in range or Freeze is off.
if(NFreeze.eq.0 .or.
+ abs(f0-f00).lt.float(DFTolerance)) then
call decode6m(dat(jstart),jz,cfile6,nslim,istart, call decode6m(dat(jstart),jz,cfile6,nslim,istart,
+ NFixLen,lcum,f0,lumsg,npkept,yellow) + NFixLen,lcum,f0,lumsg,npkept,yellow)
endif
if(npkept.eq.0) f0a=0. if(npkept.eq.0) f0a=0.
if(pick) then if(pick) then