From 74eb0ad2f5c8ea1d9b5430ff76cd761d288ecf6f Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 19 Jan 2025 17:10:37 -0500 Subject: [PATCH] Update main.c print BLOCKSIZE --- main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index ebae89b9..f17e2015 100644 --- a/main.c +++ b/main.c @@ -2295,6 +2295,8 @@ void get_tlm_fc() { /* write telemetry into data buffer */ + printf("\nBLOCKSIZE = %d\n", BLOCKSIZE); + memset(source_bytes, 0x00, sizeof(source_bytes)); source_bytes[10] = (uint8_t) rnd_float(0,255); @@ -2344,8 +2346,8 @@ void get_tlm_fc() { int bit = syncBits - i / samples + 1; val = syncWord; data = val & 1 << (bit - 1); - printf ("%d i: %d sync bit %d = %d \n", - ctr, i, bit, (data > 0) ); +// printf ("%d i: %d sync bit %d = %d \n", + // ctr, i, bit, (data > 0) ); if (data == 0) { phase *= -1;