mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 08:31:57 -05:00
Fix a bug in calculation of S/N in JT4 mode.
This commit is contained in:
parent
350391d66e
commit
2044b736da
@ -156,7 +156,7 @@ contains
|
|||||||
nfreqz=nint(dfx)
|
nfreqz=nint(dfx)
|
||||||
call timer('sync4 ',1)
|
call timer('sync4 ',1)
|
||||||
|
|
||||||
nsnr=nint(snrx)
|
nsnr=-26
|
||||||
if(sync.lt.syncmin) then
|
if(sync.lt.syncmin) then
|
||||||
if (associated (this%decode_callback)) then
|
if (associated (this%decode_callback)) then
|
||||||
call this%decode_callback(nsnr,dtxz,nfreqz,.false.,csync, &
|
call this%decode_callback(nsnr,dtxz,nfreqz,.false.,csync, &
|
||||||
@ -166,6 +166,7 @@ contains
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
! We have achieved sync
|
! We have achieved sync
|
||||||
|
nsnr=nint(snrsync - 22.9)
|
||||||
decoded=blank
|
decoded=blank
|
||||||
deepmsg=blank
|
deepmsg=blank
|
||||||
special=' '
|
special=' '
|
||||||
|
Loading…
Reference in New Issue
Block a user