summaryrefslogtreecommitdiff
path: root/lib/jt4_decode.f90
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
committerChristoph Berg <myon@debian.org>2026-09-26 23:24:03 +0200
commit059831534c7e884f0a607ed86b582fd00d821731 (patch)
tree76bcb67a78f8aa2654fd34c2ad801a62136b0170 /lib/jt4_decode.f90
parentd83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff)
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
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