From cbfc76f25c1ac71bd231344995fb650828e45fae Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 5 Jul 2022 09:41:30 -0400 Subject: [PATCH] Update cubesatsim.h --- cubesatsim/cubesatsim.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index 668b1ced..17e037a5 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -90,7 +90,7 @@ #define OFF - 1 #define ON 1 -#define WAV_DATA_LENGTH (50000 * 8) +//#define WAV_DATA_LENGTH (50000 * 8) uint32_t tx_freq_hz = 434900000 + FREQUENCY_OFFSET; uint8_t data[1024]; @@ -142,11 +142,11 @@ int testCount = 0; long time_start; //char cmdbuffer[1000]; //FILE * file1;// -//short int buffer[100000]; // 50000]; // 25000]; // 10240]; // was 2336400]; // max size for 10 frames count of BPSK -short int buffer[(WAV_DATA_LENGTH/8)]; +short int buffer[2^15]; // 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); -#define S_RATE (8000) //(48000) // (44100) +#define S_RATE (200) // (8000) //(48000) // (44100) #define AFSK 1 #define FSK 2