summaryrefslogtreecommitdiff
path: root/lib/jt4_decode.f90
diff options
context:
space:
mode:
authorhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
committerhibby <d@vehibberd.com>2026-10-06 21:24:40 +0100
commitc25cbdf6fb6d946175f4335fab77bfea601b56db (patch)
tree6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /lib/jt4_decode.f90
parent71f5689252c9f13e70e1c24856904475b2307809 (diff)
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'lib/jt4_decode.f90')
-rw-r--r--lib/jt4_decode.f903
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/jt4_decode.f90 b/lib/jt4_decode.f90
index 483c8275..8ab48bda 100644
--- a/lib/jt4_decode.f90
+++ b/lib/jt4_decode.f90
@@ -61,9 +61,9 @@ contains
character(len=12), intent(in) :: mycall,hiscall
character(len=6), intent(in) :: hisgrid
procedure(jt4_average_callback), optional :: average_callback
-
real*4 dat(30*11025)
character*6 cfile6
+ save dat
this%decode_callback => decode_callback
if (present (average_callback)) then
@@ -443,7 +443,6 @@ subroutine getsnr(dat,npts,mode4,dtx,decoded,nsnr)
do i=1,nh
s(i)=real(cx(i))**2 + aimag(cx(i))**2
enddo
- jtone=nint((fpk-1500)/(mode4*df))
nshift=mode4*itone(j)
savg=savg + cshift(s,nshift) !Move all power into lowest tone freq
enddo