diff options
| author | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-09-26 23:24:03 +0200 |
| commit | 059831534c7e884f0a607ed86b582fd00d821731 (patch) | |
| tree | 76bcb67a78f8aa2654fd34c2ad801a62136b0170 /lib/jt65_decode.f90 | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'lib/jt65_decode.f90')
| -rw-r--r-- | lib/jt65_decode.f90 | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/lib/jt65_decode.f90 b/lib/jt65_decode.f90 index 4e73ee7b..18a901ce 100644 --- a/lib/jt65_decode.f90 +++ b/lib/jt65_decode.f90 @@ -205,6 +205,8 @@ contains if(bVHF) then flip=ca(icand)%flip nflip=int(flip) + else + nflip=1 endif if(sync1.lt.float(minsync)) nflip=0 if(ipass.eq.1) ntry65a=ntry65a + 1 @@ -275,6 +277,8 @@ contains ! Display a decoded message obtained by averaging 2 or more transmissions call this%callback(sync1,nsnr,dtx-1.0,nfreq,ndrift, & nflip,width,avemsg,nftt,nqave,nsmo,nsum,minsync) + if (iand(ndepth,128).ne.0 .and. .not.nagain .and. & + abs(nfreq-nfqso).le.ntol) clear_avg65=.true. ! AutoClrAvg prtavg=.true. end if @@ -370,6 +374,13 @@ contains data first/.true./ save + nftt=0 + avemsg=' ' + deepave=' ' + qave=0.0 + deepbest=' ' + nfttbest=0 + if(first .or. clear_avg65) then iutc=-1 nfsave=0 @@ -385,7 +396,10 @@ contains do i=1,64 if(iutc(i).lt.0) exit - if(nutc.eq.iutc(i) .and. abs(nfreq-nfsave(i)).le.ntol) go to 10 + if(nutc.eq.iutc(i) .and. abs(nfreq-nfsave(i)).le.ntol) then + nsave=mod(nsave-2+MAXAVE,MAXAVE)+1 + go to 10 + endif enddo ! Save data for message averaging @@ -396,9 +410,6 @@ contains nflipsave(nsave)=nflip s1save(-255:256,1:126,nsave)=s1 s3save(1:64,1:63,nsave)=s3a - avemsg=' ' - deepbest=' ' - nfttbest=0 10 syncsum=0. dtsum=0. |
