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/superfox/qpc_decode2.f90 | |
| parent | d83a420f0517d7fc47aeb288a6a0cf4891784fcc (diff) | |
New upstream version 3.2.0~rc1+dfsgupstream/3.2.0_rc1+dfsg
Diffstat (limited to 'lib/superfox/qpc_decode2.f90')
| -rw-r--r-- | lib/superfox/qpc_decode2.f90 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/superfox/qpc_decode2.f90 b/lib/superfox/qpc_decode2.f90 index 57152ab8..fb1dde88 100644 --- a/lib/superfox/qpc_decode2.f90 +++ b/lib/superfox/qpc_decode2.f90 @@ -5,11 +5,11 @@ subroutine qpc_decode2(c0,fsync,ftol,xdec,ndepth,dth,damp,crc_ok, & parameter(NMAX=15*12000,NFT=365,NZ=100) complex c0(NMAX) !Signal as received - complex c(NMAX) !Signal as received + complex, allocatable :: c(:) !Signal as received real py(0:127,0:127) !Probabilities for received synbol values real py0(0:127,0:127) !Probabilities for strong signal real pyd(0:127,0:127) !Dithered values for py - real s2(0:127,0:151) !Symbol spectra, including sync + real, allocatable :: s2(:,:) !Symbol spectra, including sync real s3(0:127,0:127) !Synchronized symbol spectra real No integer crc_chk,crc_sent @@ -49,6 +49,8 @@ subroutine qpc_decode2(c0,fsync,ftol,xdec,ndepth,dth,damp,crc_ok, & -5, 4, -4, 3, -5, 4, -4, -5, 4, -5/ + allocate(c(NMAX),s2(0:127,0:151)) + s2=0.0 fsample=12000.0 baud=12000.0/1024.0 nstype=1 |
