mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 21:58:38 -05:00
Send xdt and xsnr from ft8_dec7 to ft8_decode.
This commit is contained in:
parent
2b25c51169
commit
48b1ad1e46
@ -237,22 +237,17 @@ contains
|
|||||||
do i=1,ndec(jseq,0)
|
do i=1,ndec(jseq,0)
|
||||||
if(f0(i,jseq,0).eq.-99.0) exit
|
if(f0(i,jseq,0).eq.-99.0) exit
|
||||||
if(f0(i,jseq,0).eq.-98.0) cycle
|
if(f0(i,jseq,0).eq.-98.0) cycle
|
||||||
! f0(i,jseq,0)=527
|
|
||||||
! msg0(i,jseq,0)='LX1KL OE6MDF'
|
|
||||||
! print*,'aa',i,jseq,newdat,f0(i,jseq,0),trim(msg0(i,jseq,0))
|
|
||||||
call ft8_downsample(dd,newdat,f0(i,jseq,0),cd0)
|
call ft8_downsample(dd,newdat,f0(i,jseq,0),cd0)
|
||||||
call ft8_dec7(cd0,dt0(i,jseq,0),f0(i,jseq,0),msg0(i,jseq,0),msg37,snr7)
|
call ft8_dec7(cd0,dt0(i,jseq,0),f0(i,jseq,0),msg0(i,jseq,0), &
|
||||||
if(snr7.gt.4.0) then
|
xdt,xsnr,msg37)
|
||||||
! print*,i,msg0(i,jseq,0)(1:22),msg37(1:22),snr7
|
if(xsnr.gt.-99.0) then
|
||||||
if(associated(this%callback)) then
|
if(associated(this%callback)) then
|
||||||
nsnr=nint(db(snr7)-24.0)
|
nsnr=nint(xsnr)
|
||||||
xdt=0.
|
|
||||||
f1=f0(i,jseq,0)
|
f1=f0(i,jseq,0)
|
||||||
iaptype=7
|
iaptype=7
|
||||||
qual=1.0
|
qual=1.0
|
||||||
call this%callback(sync,nsnr,xdt,f1,msg37,iaptype,qual)
|
call this%callback(sync,nsnr,xdt,f1,msg37,iaptype,qual)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
endif
|
endif
|
||||||
newdat=.false.
|
newdat=.false.
|
||||||
enddo
|
enddo
|
||||||
|
Loading…
Reference in New Issue
Block a user