Update main.c change pointer

fc-4
Alan Johnston 11 months ago committed by GitHub
parent 29ac040bd4
commit 8de8cc1a5e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2326,7 +2326,7 @@ void get_tlm_fc() {
result = Encode_PushData(&source_bytes[0], 256); result = Encode_PushData(&source_bytes[0], 256);
printf("Encode_PushData result: %d\n", result); printf("Encode_PushData result: %d\n", result);
ULONG* bpsk_size; ULONG bpsk_size;
unsigned char bpsk_buffer[bpsk_size]; unsigned char bpsk_buffer[bpsk_size];
ctr = 0; ctr = 0;
long int start_timer = (long int)millis(); long int start_timer = (long int)millis();
@ -2335,7 +2335,7 @@ void get_tlm_fc() {
if (Encode_CanCollect()) if (Encode_CanCollect())
{ {
bpsk_size = 1280; bpsk_size = 1280;
Encode_CollectSamples(&bpsk_buffer[0], bpsk_size); Encode_CollectSamples(&bpsk_buffer[0], &bpsk_size);
printf("~"); printf("~");
// copy to main buffer // copy to main buffer
} }

Loading…
Cancel
Save

Powered by TurnKey Linux.