diff --git a/lib/decoder.f90 b/lib/decoder.f90 index 8baf0668e..6c32802b2 100644 --- a/lib/decoder.f90 +++ b/lib/decoder.f90 @@ -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 diff --git a/lib/jt9a.F90 b/lib/jt9a.F90 index 84727c216..017510769 100644 --- a/lib/jt9a.F90 +++ b/lib/jt9a.F90 @@ -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 diff --git a/mainwindow.cpp b/mainwindow.cpp index e064975ec..5655722a4 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//------------------------------------------------------------- MainWindow +//-------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h"