From ff3b7a02a2ffc605d253be58d3c7460823486867 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 28 Jan 2025 10:14:40 -0500 Subject: [PATCH] Update main.c added comments about socket_send --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index b72c0eb2..c7942de3 100644 --- a/main.c +++ b/main.c @@ -2360,7 +2360,7 @@ void get_tlm_fc() { buffer_complete[ctr_complete++] = buffer[ctr - 1]; count += 4; } - socket_send(bpsk_size); + socket_send(bpsk_size); // should be ctr? if send in one block, comment out ctr = 0; } } @@ -2371,7 +2371,7 @@ void get_tlm_fc() { printf("Encode collected time: %d ctr_complete = %d\n", millis() - start_timer, ctr_complete); fflush(stdout); -// socket_send(); +// socket_send(ctr_complete); // uncomment if sending as a block. Might send 3x int startSleep = millis(); if ((millis() - sampleTime) < ((unsigned int)frameTime)) // - 750 + pi_zero_2_offset))