Minor tweaks for code cleanup.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7786 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2017-07-06 14:19:39 +00:00
parent aaeb59544c
commit ca8e9502b2
4 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ subroutine ft8_downsample(dd,newdat,f0,c1)
! Downconvert to complex data sampled at 200 Hz ==> 32 samples/symbol
parameter (NMAX=15*12000)
parameter (NMAX=15*12000,NSPS=1920)
parameter (NFFT1=192000,NFFT2=3200) !192000/60 = 3200
logical newdat
@@ -21,7 +21,7 @@ subroutine ft8_downsample(dd,newdat,f0,c1)
endif
df=12000.0/NFFT1
baud=12000.0/1920.0
baud=12000.0/NSPS
i0=nint(f0/df)
ft=f0+8.0*baud
it=min(nint(ft/df),NFFT1/2)