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);