|
|
|
@ -765,7 +765,7 @@ int get_tlm_fox() {
|
|
|
|
|
|
|
|
|
|
|
|
printf("\nAt start of buffer loop, syncBits %d samples %d ctr %d\n", syncBits, samples, ctr);
|
|
|
|
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 < 1; sync_words++) {
|
|
|
|
|
|
|
|
|
|
|
|
// for (i = 1; i <= SYNC_BITS * SAMPLES; i++)
|
|
|
|
// for (i = 1; i <= SYNC_BITS * SAMPLES; i++)
|
|
|
|
for (i = 1; i <= syncBits * 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);
|
|
|
|
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 * (HEADER_LEN + DATA_LEN * PAYLOADS + RS_FRAMES * PARITY_LEN) * SAMPLES); i++) // 572
|
|
|
|
i <= (10 * (headerLen + dataLen * payloads + rsFrames * parityLen) * samples); i++) // 572
|
|
|
|
i <= (10 * (headerLen + dataLen * payloads + rsFrames * parityLen) * samples); i++) // 572
|
|
|
|
|