diff --git a/libm65/decode1a.f b/libm65/decode1a.f index c4c235bcc..9790e083d 100644 --- a/libm65/decode1a.f +++ b/libm65/decode1a.f @@ -1,6 +1,6 @@ subroutine decode1a(dd,newdat,f0,nflip,mode65,nfsample,xpol, - + mycall,hiscall,hisgrid,neme,ndepth,nqd,dphi,ndphi,iloop, - + nutc,nkhz,ndf,ipol,sync2,a,dt,pol,nkv,nhist,qual,decoded) + + mycall,hiscall,hisgrid,neme,ndepth,nqd,dphi,ndphi,iloop, + + nutc,nkhz,ndf,ipol,sync2,a,dt,pol,nkv,nhist,nsave,qual,decoded) ! Apply AFC corrections to a candidate JT65 signal, then decode it. diff --git a/libm65/map65a.f90 b/libm65/map65a.f90 index da7a9d2e8..03b1e4db4 100644 --- a/libm65/map65a.f90 +++ b/libm65/map65a.f90 @@ -206,7 +206,7 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, & call decode1a(dd,newdat,f00,nflip,mode65,nfsample,xpol, & mycall,hiscall,hisgrid,neme,ndepth,nqd,dphi,ndphi, & iloop,nutc,ikHz,idf,ipol,sync2,a,dt,pol,nkv,nhist, & - qual,decoded) + nsave,qual,decoded) dt=dt+0.8 !### empirical tweak call timer('decode1a',1) diff --git a/mainwindow.cpp b/mainwindow.cpp index ff9918212..941a2f24e 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -974,15 +974,15 @@ void MainWindow::on_actionOpen_next_in_directory_triggered() //Open Next QStringList list; if(m_xpol) { list= fi.dir().entryList().filter(".tf2"); - len=15; +// len=15; } else { list= fi.dir().entryList().filter(".iq"); - len=14; +// len=14; } for (i = 0; i < list.size()-1; ++i) { if(i==list.size()-2) m_loopall=false; - qDebug() << len << m_path; - +// qDebug() << len << i << list.at(i) << list.at(i).length(); + len=list.at(i).length(); if(list.at(i)==m_path.right(len)) { int n=m_path.length(); QString fname=m_path.replace(n-len,len,list.at(i+1));