diff --git a/cubesatsim/cubesatsim.h b/cubesatsim/cubesatsim.h index 215b91f7..3e6f1e8a 100644 --- a/cubesatsim/cubesatsim.h +++ b/cubesatsim/cubesatsim.h @@ -129,7 +129,9 @@ void eeprom_word_write(int addr, int val); void read_payload(); void start_ina219(); void pwm_interrupt_handler(); -void start_pwm() ; +void start_pwm(); +void transmit_on(); +void transmit_off(); extern int Encode_8b10b[][256]; @@ -142,8 +144,8 @@ int testCount = 0; long time_start; //char cmdbuffer[1000]; //FILE * file1;// -#define BUFFER_SIZE (2^15) -short int buffer[50000]; //BUFFER_SIZE]; // ctr is an int // 100000]; // 50000]; // 25000]; // 10240]; // was 2336400]; // max size for 10 frames count of BPSK +#define BUFFER_SIZE (970 * 2) +short int buffer[BUFFER_SIZE]; // 50000]; //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);