From 698c01916b642771d859a62755bbfbba1acfc361 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 27 Jan 2025 17:14:44 -0500 Subject: [PATCH] Update main.c print every 10,000 ctr --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 7213b126..5f39d1b1 100644 --- a/main.c +++ b/main.c @@ -2347,13 +2347,15 @@ void get_tlm_fc() { } int count = 0; while (count < bpsk_size) { -// printf("bpsk_buffer %f or %d, count = %d = ctr = %d\n", (float)bpsk_buffer[count], (int)( (float)bpsk_buffer[count] ), count, ctr); + if ((ctr % 10000) == 0) + printf("bpsk_buffer %f or %d, count = %d = ctr = %d\n", (float)bpsk_buffer[count], (int)( (float)bpsk_buffer[count] ), count, ctr); buffer[ctr++] = (int)( (float)bpsk_buffer[count] ); count += 4; } // printf("\n"); } printf("Encode collected time: %d\n", millis() - start_timer); + fflush(stdout); // convert float to