From 8b4694fdbb962411054e919d88e6c2d91a4f25c7 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 27 Jan 2025 16:46:27 -0500 Subject: [PATCH] Update main.c add prints --- main.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index ba1dfefa..dfd3d0aa 100644 --- a/main.c +++ b/main.c @@ -2322,14 +2322,19 @@ void get_tlm_fc() { int result = Encode_Initialize(); printf("Encode_Initialize result: %d\n", result); - + flush(stdout); + result = Encode_PushData(&source_bytes[0], 256); printf("Encode_PushData result: %d\n", result); - + flush(stdout); + ULONG bpsk_size; unsigned char bpsk_buffer[bpsk_size]; ctr = 0; long int start_timer = (long int)millis(); + printf("Starting Encode Loop\n"); + flush(stdout); + while (!Encode_AllDataCollected() && ((millis() - start_timer) > 1000)) { if (Encode_CanCollect())