From ace3bfccdb52947eab8542bed0263dac67043cac Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 5 Oct 2019 09:44:24 -0400 Subject: [PATCH] back to 1 sync word. 2 didn't help --- afsk/main.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index 1c11c3e4..77dcde65 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -764,9 +764,6 @@ int get_tlm_fox() { int offset = 0; printf("\nAt start of buffer loop, syncBits %d samples %d ctr %d\n", syncBits, samples, ctr); - - for (int sync_words = 0; sync_words < 2; sync_words++) { - // for (i = 1; i <= SYNC_BITS * SAMPLES; i++) for (i = 1; i <= syncBits * samples; i++) { @@ -800,8 +797,7 @@ int get_tlm_fox() { } } printf("\n\nValue of ctr after header: %d Buffer Len: %d\n\n", ctr, buffSize); - } - for (i = 1; + for (i = 1; // i <= (10 * (HEADER_LEN + DATA_LEN * PAYLOADS + RS_FRAMES * PARITY_LEN) * SAMPLES); i++) // 572 i <= (10 * (headerLen + dataLen * payloads + rsFrames * parityLen) * samples); i++) // 572 {