From 516c83d4f9b9e62b1a42fee827f6532018b2c23d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Mon, 12 Dec 2022 18:52:45 -0500 Subject: [PATCH] Cut the size of arrays d4() d8() dd() in half, because no xpol. --- q65w/commons.h | 4 ++-- q65w/getfile.cpp | 6 +++--- q65w/libq65/decode0.f90 | 10 +++++----- q65w/libq65/filbig.f90 | 4 ++-- q65w/libq65/q65c.f90 | 2 +- q65w/libq65/q65wa.f90 | 2 +- q65w/libq65/recvpkt.f90 | 20 +------------------- q65w/libq65/symspec.f90 | 4 ++-- q65w/soundin.cpp | 3 ++- 9 files changed, 19 insertions(+), 36 deletions(-) diff --git a/q65w/commons.h b/q65w/commons.h index aa4485eaa..e145c2693 100644 --- a/q65w/commons.h +++ b/q65w/commons.h @@ -6,7 +6,7 @@ extern "C" { extern struct { //This is "common/datcom/..." in Fortran - float d4[4*5760000]; //Raw I/Q data from Linrad + float d4[2*5760000]; //Raw I/Q data from Linrad float ss[322*NFFT]; //Half-symbol spectra at 0,45,90,135 deg pol float savg[NFFT]; //Avg spectra at 0,45,90,135 deg pol double fcenter; //Center freq from Linrad (MHz) @@ -45,7 +45,7 @@ extern struct { //This is "common/datcom/..." in Fortran } datcom_; extern struct { //This is "common/datcom/..." in Fortran - float d4[4*5760000]; //Raw I/Q data from Linrad + float d4[2*5760000]; //Raw I/Q data from Linrad float ss[322*NFFT]; //Half-symbol spectra at 0,45,90,135 deg pol float savg[NFFT]; //Avg spectra at 0,45,90,135 deg pol double fcenter; //Center freq from Linrad (MHz) diff --git a/q65w/getfile.cpp b/q65w/getfile.cpp index 01b17469d..edbae0337 100644 --- a/q65w/getfile.cpp +++ b/q65w/getfile.cpp @@ -31,13 +31,13 @@ void getfile(QString fname, bool xpol, int dbDgrd) for(int i=0; i