Correct a flaw in decoder(); do some code cleanup.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3127 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-04-03 20:42:12 +00:00
parent dc49b627c2
commit aaf43ad071
3 changed files with 3 additions and 3 deletions

View File

@ -66,6 +66,7 @@ subroutine decoder(ss,c0)
kstep=nsps/2
tstep=kstep/12000.0
idf=ntol/df3 + 0.999
do nqd=1,0,-1
if(nqd.eq.1) then
@ -81,7 +82,7 @@ subroutine decoder(ss,c0)
call timer('sync9 ',1)
ccfok=.false.
ccfok(max(ipk-1,1):min(ipk+1,NSMAX))=.true.
ccfok(max(ipk-idf,1):min(ipk+idf,NSMAX))=.true.
if(nqd.eq.1) then
ia1=ia
ib1=ib

View File

@ -85,7 +85,6 @@ subroutine jt9c(ss,savg,c0,id2,nparams0)
npatience=1
call flush(6)
nstandalone=0
if(sum(nparams).ne.0) call decoder(ss,c0)
return

View File

@ -1,4 +1,4 @@
//------------------------------------------------------------- MainWindow
//-------------------------------------------------------------- MainWindow
#include "mainwindow.h"
#include "ui_mainwindow.h"
#include "devsetup.h"