From 0dcafa2b774d95d325134fc16991ffe9f8d07ffc Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 20 Jan 2025 12:53:06 -0500 Subject: [PATCH] Update main.c try again --- main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.c b/main.c index 99e29411..1daa8613 100644 --- a/main.c +++ b/main.c @@ -2302,8 +2302,8 @@ void get_tlm_fc() { // printf("\nSYMPBLOCK = %d\n", SYMPBLOCK); memset(source_bytes, 0x00, sizeof(source_bytes)); - source_bytes[0] = 0b01000001; // 10100000 10000001 - source_bytes[1] = 0b01000001; + source_bytes[0] = 0b10000001; // + source_bytes[1] = 0b10000001; source_bytes[10] = (uint8_t) rnd_float(0,255); /* printf("\nsource_bytes\n"); @@ -2378,7 +2378,7 @@ void get_tlm_fc() { // printf ("%d i: %d new frame %d data10[%d] = %x bit %d = %d \n", // ctr/SAMPLES, i, frames, symbol, val, bit, (data > 0) ); symbol = i / samples - 1; - if (i < 100) printf("symbol = %d\n",symbol); +// if (i < 100) printf("symbol = %d\n",symbol); data = encoded_bytes[symbol]; if (data == 0) { phase *= -1; @@ -2393,8 +2393,8 @@ void get_tlm_fc() { } } } - printf("symbol = %d\n",symbol); - printf("\nctr = %d\n\n", ctr); +// printf("symbol = %d\n",symbol); +// printf("\nctr = %d\n\n", ctr); /* open socket */