From 3a2f4990407d0103d687b93c0bc872824c1549a1 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 5 Jul 2022 09:49:43 -0400 Subject: [PATCH] Update cubesatsim.h --- cubesatsim/cubesatsim.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index e8f86cc3..e49c49e3 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -142,8 +142,8 @@ int testCount = 0; long time_start; //char cmdbuffer[1000]; //FILE * file1;// -unsigned int 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^16) +short int buffer[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);