From 7f41f94ed753610368a4a132c1a5ca917177a72f Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 5 Oct 2019 09:31:32 -0400 Subject: [PATCH] back to 2 sync_words --- afsk/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index cfbe7592..1c11c3e4 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -765,7 +765,7 @@ int get_tlm_fox() { printf("\nAt start of buffer loop, syncBits %d samples %d ctr %d\n", syncBits, samples, ctr); -// for (int sync_words = 0; sync_words < 1; sync_words++) { + 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,7 +800,7 @@ int get_tlm_fox() { } } printf("\n\nValue of ctr after header: %d Buffer Len: %d\n\n", ctr, buffSize); -// } + } 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