summaryrefslogtreecommitdiff
path: root/lib/q65_decode.f90
diff options
context:
space:
mode:
authortony mancill <tmancill@debian.org>2021-11-05 07:29:09 -0700
committertony mancill <tmancill@debian.org>2021-11-05 07:29:09 -0700
commite05d4def60e25e7fed87ff67ce5a97df24fc945b (patch)
treec266fd15dab6c7914a1f6f27feee35be80c6b8ab /lib/q65_decode.f90
parent27d0d660257d9dcdab5c5ca8addd01cc10552902 (diff)
New upstream version 2.5.2+repackupstream/2.5.2+repack
Diffstat (limited to 'lib/q65_decode.f90')
-rw-r--r--lib/q65_decode.f9011
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/q65_decode.f90 b/lib/q65_decode.f90
index 087bc0ce..00022c58 100644
--- a/lib/q65_decode.f90
+++ b/lib/q65_decode.f90
@@ -75,9 +75,7 @@ contains
logical single_decode,lagain
complex, allocatable :: c00(:) !Analytic signal, 6000 Sa/s
complex, allocatable :: c0(:) !Analytic signal, 6000 Sa/s
-
-!w3sz added
- integer stageno
+ integer stageno !Added by W3SZ
stageno=0
! Start by setting some parameters and allocating storage for large arrays
@@ -96,7 +94,7 @@ contains
nfft1=ntrperiod*12000
nfft2=ntrperiod*6000
npasses=1
-
+ if(lagain) ndepth=ior(ndepth,3) !Use 'Deep' for manual Q65 decodes
dxcall13=hiscall ! initialize for use in packjt77
mycall13=mycall
@@ -241,9 +239,8 @@ contains
nused=navg(iseq)
endif
-100 stageno = 5
-
- if(idec.lt.0) then
+100 if(idec.lt.0 .and. max_drift.eq.50) then
+ stageno = 5
call timer('q65_dec0',0)
! Call top-level routine in q65 module: establish sync and try for a
! q3 or q0 decode.