added printfs for ctr1 and ctr3 to see how many bytes of data8 and data10 written

pull/28/head
alanbjohnston 6 years ago committed by GitHub
parent 9eb0e7c16e
commit b52d5abfe0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -716,7 +716,9 @@ int get_tlm_fox() {
}
}
}
}
}
printf("\nAt end of data8 write, %d ctr1 values written\n\n", ctr1);
#ifdef DEBUG_LOGGING
printf("Parities ");
// for (int m = 0; m < PARITY_LEN; m++) {
@ -741,7 +743,6 @@ int get_tlm_fox() {
rd = nrd; // ^ nrd;
ctr2++;
}
// for (i = 0; i < PARITY_LEN; i++)
for (i = 0; i < parityLen; i++)
{
@ -756,7 +757,8 @@ int get_tlm_fox() {
rd = nrd;
}
}
printf("\nAt end of data10 write, %d ctr2 values written\n\n", ctr2);
int data;
int val;
int offset = 0;
@ -828,7 +830,7 @@ int get_tlm_fox() {
}
}
}
printf("\nValue of i after looping: %d Buffer Len: %d \n\n", ctr, buffSize);
printf("\nValue of i after looping: %d Buffer Len: %d\n\n", ctr, buffSize);
// write_wav("transmit.wav", BUF_LEN, buffer, S_RATE);
// write_wav("transmit.wav", bufLen, buffer, S_RATE);

Loading…
Cancel
Save

Powered by TurnKey Linux.