Temporary debugging statements to help tracing problem with nagain=1 decodes.

This commit is contained in:
Joe Taylor 2023-01-16 14:56:33 -05:00
parent 4dd8dd456f
commit f4475740c1
3 changed files with 14 additions and 4 deletions

View File

@ -26,6 +26,7 @@ void getfile(QString fname, bool xpol, int dbDgrd)
n = fread(id,2,npts,fp);
Q_UNUSED (n);
int j=0;
qDebug() << "aaa" << datcom_.fcenter;
if(dbDgrd<0) {
for(int i=0; i<npts; i+=2) {

View File

@ -35,13 +35,21 @@ subroutine q65c(itimer)
return
endif
! newdat=1
! nagain=0
write(*,3001) 'aa',newdat,nagain,nfa,nfb,ntol
3001 format(a2,5i6)
datetime(18:20)=':00'
npatience=1
if(newdat.eq.0 .and. nagain.eq.1) then
nfa=nint(mousefqso+0.001*mousedf) - 1 !Minimal solution for
nfb=nint(mousefqso+0.001*mousedf) + 1 !double-click decodes
endif
! if(newdat.eq.0 .and. nagain.eq.1) then
! nfa=nint(mousefqso+0.001*mousedf) - 1 !Minimal solution for
! nfb=nint(mousefqso+0.001*mousedf) + 1 !double-click decodes
! newdat=1
! nagain=0
! endif
write(*,3001) 'bb',newdat,nagain,nfa,nfb,ntol
call timer('decode0 ',0)
call decode0(dd,ss,savg)

View File

@ -891,6 +891,7 @@ void MainWindow::decode() //decode()
datcom_.nfa=nfa;
datcom_.nfb=nfb;
qDebug() << "bbb" << datcom_.fcenter << datcom_.nfa << datcom_.nfb;
datcom_.nfcal=m_fCal;
datcom_.nfshift=nfshift;
datcom_.mcall3=0;