mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -05:00
Remove the diagnostic routine chk_samples().
This commit is contained in:
parent
cfecb43d34
commit
e0a20d25db
@ -126,35 +126,3 @@ subroutine symspec(shared_data,k,TRperiod,nsps,ingain,bLowSidelobes, &
|
||||
|
||||
return
|
||||
end subroutine symspec
|
||||
|
||||
subroutine chk_samples(ihsym,k,nstop)
|
||||
|
||||
integer*8 count0,count1,clkfreq
|
||||
integer itime(8)
|
||||
real*8 dtime,fsample
|
||||
character*12 ctime
|
||||
data count0/-1/,k0/99999999/,maxhsym/0/
|
||||
save count0,k0,maxhsym
|
||||
|
||||
if(k.lt.k0 .or. count0.eq.-1) then
|
||||
call system_clock(count0,clkfreq)
|
||||
maxhsym=0
|
||||
endif
|
||||
! if((mod(ihsym,100).eq.0 .or. ihsym.ge.nstop-100) .and. &
|
||||
! k0.ne.99999999) then
|
||||
! call system_clock(count1,clkfreq)
|
||||
! dtime=dfloat(count1-count0)/dfloat(clkfreq)
|
||||
! if(dtime.lt.28.0) return
|
||||
! if(dtime.gt.1.d-6) fsample=(k-3456)/dtime
|
||||
! call date_and_time(values=itime)
|
||||
! sec=itime(7)+0.001*itime(8)
|
||||
! write(ctime,3000) itime(5)-itime(4)/60,itime(6),sec
|
||||
!3000 format(i2.2,':',i2.2,':',f6.3)
|
||||
! write(33,3033) ctime,dtime,ihsym,nstop,k,fsample
|
||||
!3033 format(a12,f12.6,2i7,i10,f15.3)
|
||||
! flush(33)
|
||||
! endif
|
||||
k0=k
|
||||
|
||||
return
|
||||
end subroutine chk_samples
|
||||
|
@ -1473,7 +1473,6 @@ void MainWindow::dataSink(qint64 frames)
|
||||
if(m_mode.startsWith("FST4")) npct=ui->sbNB->value();
|
||||
symspec_(&dec_data,&k,&m_TRperiod,&nsps,&m_inGain,&bLowSidelobes,&nsmo,&m_px,s,
|
||||
&m_df3,&m_ihsym,&m_npts8,&m_pxmax,&npct);
|
||||
chk_samples_(&m_ihsym,&k,&m_hsymStop);
|
||||
if(m_mode=="WSPR" or m_mode=="FST4W") wspr_downsample_(dec_data.d2,&k);
|
||||
if(m_ihsym <=0) return;
|
||||
if(ui) ui->signal_meter_widget->setValue(m_px,m_pxmax); // Update thermometer
|
||||
|
Loading…
Reference in New Issue
Block a user