diff options
Diffstat (limited to 'lib/superfox/qpc_sync.f90')
| -rw-r--r-- | lib/superfox/qpc_sync.f90 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/superfox/qpc_sync.f90 b/lib/superfox/qpc_sync.f90 index 9c80b390..d24b7be1 100644 --- a/lib/superfox/qpc_sync.f90 +++ b/lib/superfox/qpc_sync.f90 @@ -2,15 +2,17 @@ subroutine qpc_sync(crcvd0,fsample,isync,fsync,ftol,f2,t2,snrsync) parameter(N9SEC=9*12000,NMAX=15*12000,NDOWN=16,NZ=N9SEC/NDOWN) complex crcvd0(NMAX) !Signal as received - complex c0(0:N9SEC-1) !For long FFT + complex, allocatable :: c0(:) !For long FFT complex c1(0:NZ-1) complex c1sum(0:NZ-1) complex z - real s(N9SEC/4) + real, allocatable :: s(:) real p(-1125:1125) integer ipk(1) integer isync(24) + allocate(c0(0:N9SEC-1),s(N9SEC/4)) + baud=12000.0/1024.0 df2=fsample/N9SEC fac=1.0/N9SEC |
