From 78b901d9dbea36e1ac4a520dbb2b2529ae4ce8ad Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 5 Jul 2022 11:15:32 -0400 Subject: [PATCH] Update cubesatsim.h --- cubesatsim/cubesatsim.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index e49c49e3..d4710c46 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -142,8 +142,8 @@ int testCount = 0; long time_start; //char cmdbuffer[1000]; //FILE * file1;// -#define BUFFER_SIZE (2^16) -short int buffer[BUFFER_SIZE]; // ctr is an int // 100000]; // 50000]; // 25000]; // 10240]; // was 2336400]; // max size for 10 frames count of BPSK +#define BUFFER_SIZE (2^15) +short int buffer[100000]; //BUFFER_SIZE]; // ctr is an int // 100000]; // 50000]; // 25000]; // 10240]; // was 2336400]; // max size for 10 frames count of BPSK //short int buffer[(WAV_DATA_LENGTH/8)]; //FILE *sopen(const char *program); @@ -236,7 +236,10 @@ float Temp; float rest; unsigned int wav_position = 0; - +int counter = 0; +int counter_max = 420; +int amplitude = 50; //100; +int value; /* * TelemEncoding.h *