diff --git a/map65/libm65/map65a.f90 b/map65/libm65/map65a.f90 index d0b7a21b4..d8782a3cb 100644 --- a/map65/libm65/map65a.f90 +++ b/map65/libm65/map65a.f90 @@ -147,6 +147,7 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, & ssmax=1.e30 call ccf65(ss(1,1,i),nhsym,ssmax,sync1,ipol,jpz,dt, & flipk,syncshort,snr2,ipol2,dt2) + if(dt.lt.-2.6 .or. dt.gt.2.5) sync1=-99.0 !### call timer('ccf65 ',1) if(mode65.eq.0) syncshort=-99.0 !If "No JT65", don't waste time @@ -214,7 +215,7 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, & if(nqd.eq.1 .and. ntol.le.100) thresh1=0. noffset=0 if(nqd.ge.1) noffset=nint(1000.0*(freq-fqso)-mousedf) - if(first_loop) then !### For Q65 changes ??? ### + if(first_loop .and. sync1.gt.0.0) then sync1=thresh1+1.0 noffset=0 first_loop=.false. diff --git a/map65/mainwindow.cpp b/map65/mainwindow.cpp index 543c30795..b24234ac2 100644 --- a/map65/mainwindow.cpp +++ b/map65/mainwindow.cpp @@ -1143,6 +1143,10 @@ void MainWindow::diskDat() //diskDat() m_diskData=true; datcom_.newdat=1; +// if(g_pWideGraph->m_bForceCenterFreq) datcom_.fcenter=g_pWideGraph->m_dForceCenterFreq; +// qDebug() << "aa" << datcom_.fcenter << g_pWideGraph->m_dForceCenterFreq +// << g_pWideGraph->m_bForceCenterFreq; + if(m_fs96000) hsym=2048.0*96000.0/11025.0; //Samples per JT65 half-symbol if(!m_fs96000) hsym=2048.0*95238.1/11025.0; for(int i=0; i<304; i++) { // Do the half-symbol FFTs